1 --- crmsh-3.0.1/crmsh/utils.py.orig 2017-09-23 22:48:26.794327194 +0000
2 +++ crmsh-3.0.1/crmsh/utils.py 2017-09-23 23:12:54.478826458 +0000
9 + cmd = "ps -e -o pid,comm | /usr/bin/grep -qs '%s'" % s
10 + if options.regression_tests:
12 + proc = subprocess.Popen(cmd,
14 + stdout=subprocess.PIPE)
16 + return proc.returncode == 0
20 Returns true if argument is the name of a running process.