Skip to content

Commit

Permalink
Sync sync usage of parsed.options in async usage
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMartinez committed Sep 8, 2023
1 parent aca4fc9 commit fda2064
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Node/Library/Execa.purs
Original file line number Diff line number Diff line change
Expand Up @@ -308,17 +308,17 @@ execa file args buildOptions = do
escapedCommand = getEscapedCommand file args
spawned <- liftEffect $ CP.spawn' parsed.file parsed.args
( _
{ cwd = options.cwd
{ cwd = Just parsed.options.cwd
, env = Just parsed.options.env
, argv0 = options.argv0
, appendStdio = options.stdioExtra
, appendStdio = Just parsed.options.stdioExtra
, detached = options.detached
, uid = options.uid
, gid = options.gid
, serialization = Nothing
, shell = map customShell options.shell
, windowsVerbatimArguments = options.windowsVerbatimArguments
, windowsHide = options.windowsHide
, windowsVerbatimArguments = Just parsed.options.windowsVerbatimArguments
, windowsHide = Just parsed.options.windowsHide
}
)
stdinErrRef <- liftEffect $ Ref.new Nothing
Expand Down

0 comments on commit fda2064

Please sign in to comment.