2012/10/19 Donn Cave d...@avvanta.com:
Quoth Jason Dusek jason.du...@gmail.com,
Using `System.Process.runInteractiveProcess', I can start a process
and get a handle to it:
runInteractiveProcess
:: FilePath
- [String]
- Maybe FilePath
- Maybe [(String, String)]
- IO
On Thu, Oct 18, 2012 at 5:03 PM, Jason Dusek jason.du...@gmail.com wrote:
For diagnostic purposes, I'd like to print the PID of the
process attached to this handle -- how best to do that?
In Mueval when I wanted the PID (so I could later send sigkills), I did this:
hdl - runProcess
Quoth Jason Dusek jason.du...@gmail.com,
Using `System.Process.runInteractiveProcess', I can start a process
and get a handle to it:
runInteractiveProcess
:: FilePath
- [String]
- Maybe FilePath
- Maybe [(String, String)]
- IO (Handle, Handle, Handle, ProcessHandle)