You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.d.ts
+14-15Lines changed: 14 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -334,7 +334,7 @@ declare namespace execa {
334
334
335
335
interfaceExecaSyncError<StdoutErrorType=string>
336
336
extendsError,
337
-
ExecaReturnBase<StdoutErrorType>{
337
+
ExecaReturnBase<StdoutErrorType>{
338
338
/**
339
339
Error message when the child process failed to run. In addition to the underlying error message, it also contains some information related to why the child process errored.
340
340
@@ -384,33 +384,33 @@ declare namespace execa {
384
384
}
385
385
386
386
interfaceExecaChildPromise<StdoutErrorType>{
387
+
/**
388
+
Stream combining/interleaving [`stdout`](https://nodejs.org/api/child_process.html#child_process_subprocess_stdout) and [`stderr`](https://nodejs.org/api/child_process.html#child_process_subprocess_stderr).
389
+
390
+
This is `undefined` if either:
391
+
- the `all` option is `false` (the default value)
392
+
- both `stdout` and `stderr` options are set to [`'inherit'`, `'ipc'`, `Stream` or `integer`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio)
Same as the original [`child_process#kill()`](https://nodejs.org/api/child_process.html#child_process_subprocess_kill_signal), except if `signal` is `SIGTERM` (the default value) and the child process is not terminated after 5 seconds, force it by sending `SIGKILL`.
Similar to [`childProcess.kill()`](https://nodejs.org/api/child_process.html#child_process_subprocess_kill_signal). This is preferred when cancelling the child process execution as the error is more descriptive and [`childProcessResult.isCanceled`](#iscanceled) is set to `true`.
398
407
*/
399
408
cancel(): void;
400
-
401
-
/**
402
-
Stream combining/interleaving [`stdout`](https://nodejs.org/api/child_process.html#child_process_subprocess_stdout) and [`stderr`](https://nodejs.org/api/child_process.html#child_process_subprocess_stderr).
403
-
404
-
This is `undefined` if either:
405
-
- the `all` option is `false` (the default value)
406
-
- both `stdout` and `stderr` options are set to [`'inherit'`, `'ipc'`, `Stream` or `integer`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio)
0 commit comments