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
If `true`, no quoting or escaping of arguments is done on Windows. Ignored on other platforms. This is set to `true` automatically when the `shell` option is `true`.
@@ -171,10 +172,6 @@ Milliseconds to wait for the child process to terminate before sending `SIGKILL`
171
172
172
173
Can be disabled with`false`.
173
174
174
-
####cancel()
175
-
176
-
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`.
177
-
178
175
####all
179
176
180
177
Type:`ReadableStream | undefined`
@@ -290,6 +287,8 @@ Type: `boolean`
290
287
291
288
Whether the process was canceled.
292
289
290
+
You can cancel the spawned process using the[`signal`](#signal-1) option.
291
+
293
292
####killed
294
293
295
294
Type:`boolean`
@@ -546,6 +545,16 @@ Default: `SIGTERM`
546
545
547
546
Signal value to be used when the spawned process will be killed.