Path to the script file to run
Arguments to pass to the script
Arguments to pass to the Node.js CLI
OptionalstdioStandard input/output stream options
OptionalenvEnvironment variables to pass to the child process
OptionalrejectWhether to reject the promise on script failure (defaults to false)
Options needed to run a script file as a child process
Example