Runs a command. args are the words after the command name; "double" or 'single' quotes keep
spaces and \ escapes a character inside quotes (spawn "big boss" 3 → ["big boss", "3"]).
Return a value to print it (undefined prints nothing, strings print as-is, other values are
formatted like console.log). Return a promise to print its value once it settles. Throw to
print an error.
Runs a command.
argsare the words after the command name; "double" or 'single' quotes keep spaces and\escapes a character inside quotes (spawn "big boss" 3→["big boss", "3"]). Return a value to print it (undefinedprints nothing, strings print as-is, other values are formatted likeconsole.log). Return a promise to print its value once it settles. Throw to print an error.