Currently, if you try to run pbs_benchpress in a bash script, ctrl+c does not stop the test execution. For example:
#!/bin/bash pbs_benchpress -t SmokeTest
I believe this is not intended, but in the code this comment confuses me:
# join process group of caller makes it possible to programmatically interrupt # when run in a subshell os.setpgrp()
By removing the os.setpgrp(), I can stop the execution with ctrl+c. The comment leads me to believe that this line is deliberate; was it intended to prevent this kind of usage?