cwctl.py
branchstable
changeset 2156 fadb86b040a9
parent 2104 b4ffcea3275b
child 2275 bc0bed0616a3
equal deleted inserted replaced
2153:d42d1eaefcdd 2156:fadb86b040a9
   139                 if not confirm('%s application %r ?' % (self.name, appid)):
   139                 if not confirm('%s application %r ?' % (self.name, appid)):
   140                     continue
   140                     continue
   141             if forkcmd:
   141             if forkcmd:
   142                 status = system('%s %s' % (forkcmd, appid))
   142                 status = system('%s %s' % (forkcmd, appid))
   143                 if status:
   143                 if status:
   144                     sys.exit(status)
   144                     print '%s exited with status %s' % (forkcmd, status)
   145             else:
   145             else:
   146                 self.run_arg(appid)
   146                 self.run_arg(appid)
   147 
   147 
   148 # base commands ###############################################################
   148 # base commands ###############################################################
   149 
   149