Re: core/gumpenv.py and check_pgrep

2004-06-08 Thread Adam R. B. Jack
One thing I dislike about Python (for Gump) is we've not found a nicer way to timeout processes. One thing I dislike about Gump's implementation (for this part) is that it runs the program, not just detects it on the PATH - but this is 'cos since we had code to do this what about the type

Re: core/gumpenv.py and check_pgrep

2004-06-06 Thread Michael Davey
Adam R. B. Jack wrote: One thing I dislike about Python (for Gump) is we've not found a nicer way to timeout processes. One thing I dislike about Gump's implementation (for this part) is that it runs the program, not just detects it on the PATH - but this is 'cos since we had code to do this what

core/gumpenv.py and check_pgrep

2004-06-05 Thread Michael Davey
Hi, PythonGump's check_pgrep test fails on Solaris when pgrep is present. The problem is that pgrep returns error code 2 on Solaris but code 0 on Linux: bash$ pgrep -help pgrep: illegal option -- h Usage: pgrep [-flnovx] [-d delim] [-P ppidlist] [-g pgrplist] [-s sidlist] [-u euidlist]