Windows: Fix hang when adding several files at once.
This commit is contained in:
parent
e02fdd2270
commit
0e05613083
4 changed files with 35 additions and 17 deletions
|
@ -43,7 +43,7 @@ start restartable cmd params env = do
|
|||
|
||||
start' :: CoProcessSpec -> IO CoProcessState
|
||||
start' s = do
|
||||
(to, from, _err, pid) <- runInteractiveProcess (coProcessCmd s) (coProcessParams s) Nothing (coProcessEnv s)
|
||||
(pid, to, from) <- startInteractiveProcess (coProcessCmd s) (coProcessParams s) (coProcessEnv s)
|
||||
return $ CoProcessState pid to from s
|
||||
|
||||
stop :: CoProcessHandle -> IO ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue