diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-11-21 18:07:24 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-11-21 18:07:24 +0200 |
commit | dacc0bfae08c88125035f08cd136641eee95137f (patch) | |
tree | b2af748741e2ab9ebca0f57d8ce32b5bc75b1a58 /livespawn |
Kogaion live git added
Diffstat (limited to 'livespawn')
-rw-r--r-- | livespawn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/livespawn b/livespawn new file mode 100644 index 0000000..44d7257 --- /dev/null +++ b/livespawn @@ -0,0 +1,10 @@ +#!/usr/bin/python +import sys, os, subprocess +args = sys.argv[1:] +if not args: raise SystemExit(1) + +pid = os.fork() +if pid == 0: + p = subprocess.Popen(args) + rc = p.wait() + raise SystemExit(rc) |