equal
deleted
inserted
replaced
231 |
231 |
232 def _systembackground(cmd, environ=None, cwd=None): |
232 def _systembackground(cmd, environ=None, cwd=None): |
233 ''' like 'procutil.system', but returns the Popen object directly |
233 ''' like 'procutil.system', but returns the Popen object directly |
234 so we don't have to wait on it. |
234 so we don't have to wait on it. |
235 ''' |
235 ''' |
236 cmd = procutil.quotecommand(cmd) |
|
237 env = procutil.shellenviron(environ) |
236 env = procutil.shellenviron(environ) |
238 proc = subprocess.Popen( |
237 proc = subprocess.Popen( |
239 procutil.tonativestr(cmd), |
238 procutil.tonativestr(cmd), |
240 shell=True, |
239 shell=True, |
241 close_fds=procutil.closefds, |
240 close_fds=procutil.closefds, |