System[.Posix].Process question
Johannes Waldmann
waldmann at imn.htwk-leipzig.de
Wed Nov 5 16:34:52 EST 2008
Hello.
I am looking for something like System.Process.runInteractiveProcess
(which gives me the in/out/err handles, which I like) but instead of
ProcessHandle,
I want a System.Posix.Types.ProcessID because I want to send a specific
signal later.
It seems that to a ProcessHandle I can only send SIGKILL
(via System.Process.terminateProcess), and this is bad
because the target process cannot intercept and handle it.
In my case, it needs to cleanup (namely, kill its children).
Thanks, J.W.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/libraries/attachments/20081105/86b7e747/signature.bin
More information about the Libraries
mailing list