From dacc0bfae08c88125035f08cd136641eee95137f Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Fri, 21 Nov 2014 18:07:24 +0200 Subject: Kogaion live git added --- livespawn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 livespawn (limited to 'livespawn') 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) -- cgit v1.2.3