got file descriptors mixed up in last commit
This commit is contained in:
parent
0e05613083
commit
4ef0609433
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ start restartable cmd params env = do
|
||||||
|
|
||||||
start' :: CoProcessSpec -> IO CoProcessState
|
start' :: CoProcessSpec -> IO CoProcessState
|
||||||
start' s = do
|
start' s = do
|
||||||
(pid, to, from) <- startInteractiveProcess (coProcessCmd s) (coProcessParams s) (coProcessEnv s)
|
(pid, from, to) <- startInteractiveProcess (coProcessCmd s) (coProcessParams s) (coProcessEnv s)
|
||||||
return $ CoProcessState pid to from s
|
return $ CoProcessState pid to from s
|
||||||
|
|
||||||
stop :: CoProcessHandle -> IO ()
|
stop :: CoProcessHandle -> IO ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue