I'm working with node.js and I want to when there's a request to a url like ./calculate start a new process to make these complex calculations, and I want that process to continue even if the script which called it has finished. Is it possible?
You can use the natively provided child process facility: http://nodejs.org/api/child_process.html
And use the unix "nohup" command to keep the spawned process alive even if the parent process died.
This recipe can be found in it's original form on Stack Over Flow.