Safe Haskell | Safe-Infered |
---|
Main
Description
This implements a watchdog process. It calls mueval with all the
user-specified arguments, sleeps, and then if mueval is still running
kills it.
Even an out-of-control mueval will have trouble avoiding terminateProcess
.
Note that it's too difficult to parse the user arguments to get the timeout,
so we specify it as a constant which is a little more generous than the default.