We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4547f8 + 8f77f6d commit 49829c6Copy full SHA for 49829c6
src/Node/ChildProcess.purs
@@ -195,7 +195,7 @@ foreign import onError :: forall eff. ChildProcess -> (Error -> Eff eff Unit) ->
195
-- | not throw an error. Instead, the `ChildProcess` will be created anyway,
196
-- | but it will immediately emit an 'error' event.
197
spawn :: forall eff. String -> Array String -> SpawnOptions -> Eff (cp :: CHILD_PROCESS | eff) ChildProcess
198
-spawn cmd args opts = spawnImpl cmd args (convertOpts opts)
+spawn cmd args = spawnImpl cmd args <<< convertOpts
199
where
200
convertOpts opts =
201
{ cwd: fromMaybe undefined opts.cwd
0 commit comments