Comments
Patch
@@ -30,13 +30,15 @@
$ hg init empty2
$ tstart empty2
check if process of pid looks reasonable ('hg' normally, 'python' for
run-tests.py -l)
+(TODO: matching the right command, 'hg' exclusive or 'python' would make
more sense)
#if windows
ps of mingw does not support -p, tasklist is on any windows machine since
XP
$ tasklist //NH //fi "pid eq `cat hg.pid`" | grep ' '
(.* )?(hg|python)\.exe( .*)? (re)
#else
- $ ps --no-heading -p `cat hg.pid`
- (.* )?(hg|python)( .*)? (re)
+ $ ps -p `cat hg.pid`
+ .*
+ (.*\w)?(hg|python)( .*)? (re)