Nó equivalente ao executivo bash

// no perfect equivalent.
// closest thing below.
// I don't know if error exit codes are passed through.
require("child_process").spawn('bash', ['./script.sh'], {
  cwd: process.cwd(),
  detached: true,
  stdio: "inherit"
});
qpwo