Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions System/Process.hs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ Note that @Handle@s provided for @std_in@, @std_out@, or @std_err@ via the
@UseHandle@ constructor will be closed by calling this function. This is not
always the desired behavior. In cases where you would like to leave the
@Handle@ open after spawning the child process, please use 'createProcess_'
instead.
instead. All created @Handle@s are initially in text mode; if you need them
to be in binary mode then use 'hSetBinaryMode'.

-}
createProcess
Expand Down Expand Up @@ -774,8 +775,7 @@ runProcess cmd args mb_cwd mb_env mb_stdin mb_stdout mb_stderr = do

{- | Runs a command using the shell, and returns 'Handle's that may
be used to communicate with the process via its @stdin@, @stdout@,
and @stderr@ respectively. The 'Handle's are initially in binary
mode; if you need them to be in text mode then use 'hSetBinaryMode'.
and @stderr@ respectively.
-}
runInteractiveCommand
:: String
Expand All @@ -797,9 +797,6 @@ runInteractiveCommand string =

> (inp,out,err,pid) <- runInteractiveProcess "..."
> forkIO (hPutStr inp str)

The 'Handle's are initially in binary mode; if you need them to be
in text mode then use 'hSetBinaryMode'.
-}
runInteractiveProcess
:: FilePath -- ^ Filename of the executable (see 'RawCommand' for details)
Expand Down