[Erp5-report] r45082 luke - /erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Apr 5 11:53:27 CEST 2011
Author: luke
Date: Tue Apr 5 11:53:26 2011
New Revision: 45082
URL: http://svn.erp5.org?rev=45082&view=rev
Log:
- print only once information that process had started
Modified:
erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/execute.py
Modified: erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/execute.py
URL: http://svn.erp5.org/erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/execute.py?rev=45082&r1=45081&r2=45082&view=diff
==============================================================================
--- erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/execute.py [utf8] (original)
+++ erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/execute.py [utf8] Tue Apr 5 11:53:26 2011
@@ -30,8 +30,8 @@ def execute_with_signal_translation(args
child = subprocess.Popen(args, close_fds=True, preexec_fn=os.setsid)
child_pg = child.pid
try:
+ print 'Process %r started' % args
while True:
- print 'Running'
time.sleep(10)
finally:
os.killpg(child_pg, signal.SIGHUP)
More information about the Erp5-report
mailing list