equal
deleted
inserted
replaced
1309 return [sys.executable] |
1309 return [sys.executable] |
1310 return gethgcmd() |
1310 return gethgcmd() |
1311 |
1311 |
1312 def rundetached(args, condfn): |
1312 def rundetached(args, condfn): |
1313 """Execute the argument list in a detached process. |
1313 """Execute the argument list in a detached process. |
1314 |
1314 |
1315 condfn is a callable which is called repeatedly and should return |
1315 condfn is a callable which is called repeatedly and should return |
1316 True once the child process is known to have started successfully. |
1316 True once the child process is known to have started successfully. |
1317 At this point, the child process PID is returned. If the child |
1317 At this point, the child process PID is returned. If the child |
1318 process fails to start or finishes before condfn() evaluates to |
1318 process fails to start or finishes before condfn() evaluates to |
1319 True, return -1. |
1319 True, return -1. |