continue to run command on other instances, do not exit stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 24 Jun 2009 16:58:12 +0200
branchstable
changeset 2156 fadb86b040a9
parent 2153 d42d1eaefcdd
child 2157 a4acf959d07e
continue to run command on other instances, do not exit
cwctl.py
--- a/cwctl.py	Wed Jun 24 16:57:26 2009 +0200
+++ b/cwctl.py	Wed Jun 24 16:58:12 2009 +0200
@@ -141,7 +141,7 @@
             if forkcmd:
                 status = system('%s %s' % (forkcmd, appid))
                 if status:
-                    sys.exit(status)
+                    print '%s exited with status %s' % (forkcmd, status)
             else:
                 self.run_arg(appid)