Friday 11 March 2016

Can the child process be spawned without a specific command, and be kept alive?

I have to preform thousands of commands on the command line. Currently I'm doing a exec call for every command I want to do. This has to be throttled, since only so many shells can be open at once.I'm wondering if instead, I can just open a few child processes that just execute my commands, and stay open. But it seems child_process.spawn is more geared towards executing the one command and then exiting.Or is there a better way to do bulk commands that I'm unaware of?

Submitted March 11, 2016 at 08:53PM by Inspector-Space_Time

No comments:

Post a Comment