A Posix.popen compatibility mapping.
Documentation
:: FilePath | The binary to execute |
-> [String] | A list of arguments to pass to the binary. No need to space separate them |
-> Maybe String | stdin |
-> IO (String, String, ExitCode) |
popen lets you run a binary with specified arguments. This bypasses the shell. | It'll also terminate (SIGTERM) the spawned process in case of | exception, this is very important if the timeout for a Plugin | expires while it is waiting for the result of a looping process. | It's fundamental to link the final executable with -threaded.