Readonlycwd: stringReadonlyencoding: "utf8"Readonlyenv: Readonly<Record<string, string>>Optional ReadonlymaxBuffer?: numberThe most bytes of stdout or of stderr kept before the child is killed and an error reported; Node's default is 1 MiB.
execFile with stdout and stderr as raw bytes, undecoded, so the caller chooses how to decode them (review finding B17).
Runs
filewithargs(no shell) and calls back with its output once it ends.envis the child's entire environment;fileis resolved on its PATH.