Daniel Janzon
Daniel Janzon
A very simple solution that could go quite a long way would be to add a `--max-duration=SECONDS` option that runs the python program for the given amount of time (unless...
Ok, that didn't work for me due to other reasons (ctrl-c/SIGINT was not enough to stop the server). But I agree your proposed way is the way to go. Thanks.
@jxhecong, would you mind sharing a diff with how you used system calls rather than packaging functions as I run into the same problem? Cheers Update: I did `sed -i...