Yes, I know this question exists, but unfortunately it doesn't answer this specific question.
I am writing a Node.JS app to control multiple Steam trade bots and I am adding a terminal like interface to it. This will allow me to start and stop bots whenever. However is it possible to move the program into the background with just Node.JS code?
I would like to have a command like this:
var cmdArgs = cmd.split(" ");
console.log("Moving to background...");
// move program to background
The easiest way I found to keep it running was just use the
forever package and allow access via an HTTP server port. Nevertheless thanks for your suggestions!