summaryrefslogtreecommitdiff
path: root/app-misc/rogentoslive-tools/files/2/livespawn
blob: 44d7257ead3e5d3edf276ec5e09765aae4161b1c (plain)
1
2
3
4
5
6
7
8
9
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)