sindresorhus / nano-spawn

Tiny process execution for humans — a better child_process
MIT License
437 stars 6 forks source link

Rename internal variables #71

Closed ehmicky closed 2 months ago

ehmicky commented 2 months ago

This renames some variables (used only internally) to match how we intend to document the return value of nano-spawn:

const subprocess = nanoSpawn(...);
const nodeChildProcess = await subprocess.nodeChildProcess;
const result = await subprocess;