git://git.onelab.eu
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9709be7
)
Return child's PID when starting a vserver
author
Steve Muir
<smuir@cs.princeton.edu>
Fri, 3 Jun 2005 19:47:59 +0000
(19:47 +0000)
committer
Steve Muir
<smuir@cs.princeton.edu>
Fri, 3 Jun 2005 19:47:59 +0000
(19:47 +0000)
python/vserver.py
patch
|
blob
|
history
diff --git
a/python/vserver.py
b/python/vserver.py
index
9ac2cd5
..
58b638e
100644
(file)
--- a/
python/vserver.py
+++ b/
python/vserver.py
@@
-173,3
+173,6
@@
class VServer:
except Exception, ex:
traceback.print_exc()
os._exit(0)
+
+ # parent process
+ return child_pid