Breaking changes:
getResult'schildProcesslabel now stores anUnsafeChildProcess(previouslyChildProcess)getResult'sstdin/stdout/stderrconveience functions are now wrapped inMaybe
New Features:
-
Allows
stdiovalues to be configurablePreviously, a
stdiovalue of[ 'pipe', 'pipe', 'pipe', 'ipc' ] <> appendStdiowas used.
However, this caused issues when piping a parent process'stdininto the child process'stdin,
such that the child would never terminate when the user pressesCtrl+D. By makingstdio
configurable, one can useinheritinstead, which resolves this issue.Note:
execa'sstdioalways specifies the first 4 values in thestdioarray whereas
execaSynconly specifies the first 3 values.