I am experimenting with the createProcess function from the package "process"; this function does not return any handle, on both Ubuntu and Windows. I am doing something wrong, or is this a bug? (I am using GHC 7.8.3 on both platforms.)
createProcess
returns(mb_stdin_hdl, mb_stdout_hdl, mb_stderr_hdl, p)
, where
- if
std_in == CreatePipe
, thenmb_stdin_hdl
will beJust h
, whereh
is the write end of the pipe connected to the child process'sstdin
.- otherwise,
mb_stdin_hdl == Nothing
Similarly for
mb_stdout_hdl
andmb_stderr_hdl
.