Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node spawn stdout stderr

require("child_process").spawn('bash', ['./script.sh'], {
  cwd: process.cwd(),
  detached: true,
  stdio: "inherit"
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #node #spawn #stdout #stderr
ADD COMMENT
Topic
Name
9+4 =