equal
deleted
inserted
replaced
638 ): |
638 ): |
639 '''Spawn a command without waiting for it to finish.''' |
639 '''Spawn a command without waiting for it to finish.''' |
640 # we can't use close_fds *and* redirect stdin. I'm not sure that we |
640 # we can't use close_fds *and* redirect stdin. I'm not sure that we |
641 # need to because the detached process has no console connection. |
641 # need to because the detached process has no console connection. |
642 p = subprocess.Popen( |
642 p = subprocess.Popen( |
643 tonativestr(script), |
643 pycompat.rapply(tonativestr, script), |
644 shell=shell, |
644 shell=shell, |
645 env=tonativeenv(env), |
645 env=tonativeenv(env), |
646 close_fds=True, |
646 close_fds=True, |
647 creationflags=_creationflags, |
647 creationflags=_creationflags, |
648 stdout=stdout, |
648 stdout=stdout, |