Optional
allOptional
causeThe file and arguments that were run.
The numeric exit code of the process that was run.
Whether the process failed to run.
Whether the process was canceled.
Whether the process was killed.
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.
The child process stderr then stdout are appended to the end, separated with newlines and not interleaved.
Optional
originalOriginal error message. This is the same as the message
property except it includes neither the child process stdout/stderr nor some additional information added by Execa.
This is undefined
unless the child process exited due to an error
event or a timeout.
This is the same as the message
property except it does not include the child process stdout/stderr.
Optional
signalThe name of the signal that was used to terminate the process. For example, SIGFPE
.
If a signal terminated the process, this property is defined and included in the error message. Otherwise it is undefined
.
Optional
signalA human-friendly description of the signal that was used to terminate the process. For example, Floating point arithmetic error
.
If a signal terminated the process, this property is defined and included in the error message. Otherwise it is undefined
. It is also undefined
when the signal is very uncommon which should seldomly happen.
Optional
stackThe output of the process on stderr.
The output of the process on stdout.
Whether the process timed out.
The output of the process with
stdout
andstderr
interleaved.This is
undefined
if either:all
option isfalse
(default value)execa.sync()
was used