Is it safe to call getProcessExitCode more than once?

Peter Simons simons at
Thu Oct 28 00:27:42 EDT 2004

Glynn Clements writes:

 > Both [waitForProcess and getProcessExitCode] will throw
 > an exception if the process terminated on a signal.

So if I terminate a process manually, I'll have to wait for
the ExitCode to avoid a zombie process, and waiting for the
ExitCode invariably throws an exception.

Or do I misunderstand something?


More information about the Glasgow-haskell-users mailing list