We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d66ec37 commit 390688dCopy full SHA for 390688d
3 files changed
CHANGELOG.md
@@ -45,7 +45,7 @@ Breaking changes:
45
- Restrict end-user's ability to configure `stdio` to only those appended to `safeStdio` (#46 by @JordanMartinez)
46
47
See the module docs for `Node.ChildProcess`.
48
-- All `ChildProcess`-creating functions have been updated to support no args and all args variants (#46 by @JordanMartinez)
+- All `ChildProcess`-creating functions have been updated to support no args and all args variants (#46, #48 by @JordanMartinez)
49
50
New features:
51
- Added event handler for `spawn` event (#43 by @JordanMartinez)
src/Node/ChildProcess.purs
@@ -338,7 +338,7 @@ type SpawnOptions =
338
, shell :: Maybe Shell
339
, windowsVerbatimArguments :: Maybe Boolean
340
, windowsHide :: Maybe Boolean
341
- , timeout :: Maybe Number
+ , timeout :: Maybe Milliseconds
342
, killSignal :: Maybe KillSignal
343
}
344
@@ -477,7 +477,7 @@ type ExecResult =
477
type ExecOptions =
478
{ cwd :: Maybe String
479
, env :: Maybe (Object String)
480
481
, maxBuffer :: Maybe Number
482
483
, uid :: Maybe Uid
@@ -616,7 +616,7 @@ execFile cmd args = coerce $ UnsafeCP.execFileOpts cmd args { encoding: "buffer"
616
type ExecFileOptions =
617
618
619
620
621
622
src/Node/UnsafeChildProcess/Unsafe.purs
@@ -145,7 +145,7 @@ type JsExecOptions =
145
( cwd :: String
146
, env :: Object String
147
, encoding :: String
148
- , timeout :: Number
+ , timeout :: Milliseconds
149
, maxBuffer :: Number
150
, killSignal :: KillSignal
151
, uid :: Uid
@@ -245,7 +245,7 @@ type JsExecFileOptions =
245
246
247
248
249
250
251
@@ -372,7 +372,7 @@ type JsSpawnOptions =
372
, shell :: Shell
373
, windowsVerbatimArguments :: Boolean
374
, windowsHide :: Boolean
375
376
377
)
378
0 commit comments