Top "Child-process" questions

For questions regarding child-process

Write to spawned process stdin nodejs?

I have a script that I want to run from another one. The problem is that the child script (process) …

node.js stream stdin child-process
Passing node flags/args to child process

If we fork a child_process in Node, how can we pass node parameters to the child_process? https://nodejs.…

node.js fork child-process
nodejs exec command failing with no useful error message

This is the code to execute cp.exec("cc -Wall /tmp/test.c -o /tmp/test", function(e, stdout, stderr) { …

javascript node.js exec child-process
Node.js detect a child process exit

I am working in node, as it happens via a visual studio code extension. I successfully create child processes and …

node.js exit child-process
Unable to require('child_process').spawn, console says spawn is not a function, Python-Shell node package

I am attempting to use an external package: npm install [python-shell][1] Right now, I have just the basic js file …

node.js child-process spawn
NodeJS - how to get spawned child to communicate with parent?

I'm trying this out: var child = spawn('node', args, {cwd: parentDir, stdio: 'ipc'} ); (args is an array of parameters) but …

javascript node.js ipc parent-child child-process
How to read child_process.spawnSync stdout with stdio option 'inherit'

var childProcess = cp.spawnSync(command, args, { cwd: process.cwd(), env: process.env, stdio: 'inherit', encoding: 'utf-8' }); childProcess.output always …

node.js child-process spawn
How to pass messages as well as stdout from child to parent in node.js child process module?

I am having a problem with child-process module, specifically with child.spawn and child.fork. I am relying on the …

node.js fork child-process spawn
Can Visual Studio be made to debug child processes like WinDBG?

This is similar to this question, but I wanted to flesh it out a bit. (I'm new here, if I …

visual-studio debugging child-process
Piping data from child to parent in nodejs

I have a nodejs parent process that starts up another nodejs child process. The child process executes some logic and …

node.js pipe child-process