parent
ca55acf980
commit
c44af08f64
@ -0,0 +1,4 @@ |
||||
ScriptForm test example |
||||
========================= |
||||
|
||||
This example does its best to break scriptform. |
@ -0,0 +1,11 @@ |
||||
#!/bin/sh |
||||
|
||||
# This starts a child process in the background which will block since its file |
||||
# descriptors are still tied to us. |
||||
sleep 10000 &> /dev/null |
||||
|
||||
echo "some test error" >&2 |
||||
|
||||
cat /usr/share/dict/american-english |
||||
|
||||
exit 1 |
@ -0,0 +1,14 @@ |
||||
{ |
||||
"title": "Test server", |
||||
"forms": [ |
||||
{ |
||||
"name": "zombie", |
||||
"title": "Zombie process", |
||||
"description": "", |
||||
"submit_title": "Start background process", |
||||
"script": "job_zombie.sh", |
||||
"fields": [ |
||||
] |
||||
} |
||||
] |
||||
} |
Loading…
Reference in new issue