Commit 88924c54 authored by Leo Gordon's avatar Leo Gordon
Browse files

compatibility with MacOS

parent 16acb062
......@@ -32,7 +32,7 @@ sub responsible_for_worker {
sub status_of_all_my_workers { # returns a hashref
my ($self) = @_;
my $cmd = 'ps -o state,pid,cmd -w -w --no-header x | grep runWorker.pl | grep -v "grep runWorker.pl" ';
my $cmd = 'ps x -o state,pid,command -w -w | grep runWorker.pl | grep -v "grep runWorker.pl" ';
# FIXME: if we want to incorporate Meadow->pipeline_name() filtering here,
# a dummy parameter to the runWorker.pl should probably be introduced
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment