I kill a spawned process with deployedProcesses[repo].kill();, then wait for it to exit with await deployedProcesses[repo].exited;
When I run this after:
console.log(
"Killed?",
deployedProcesses[repo].exitCode,
deployedProcesses[repo].killed
);
It logs Killed? null true
According to the typings: