NOTE: this question did not help me.
I'm trying to create a task runner for Atom and I've come to the point of running multi-line shell scripts. But
const child_process = require("child_process");
child_process.exec(
`rm -rf something
another
directory`,
(error, stdout, stderr) => {
/*...*/
},
)
Lead to node to think that another
and directory
were commands.