Please sign in to comment.
Node's global process object's pid property is not automatically updated
when the pid of the process changes. This commit wraps calls to binding.start() with a function that updates the process.pid to reflect the pid of the newly forked child process. With this change 'process.pid' in the child process will be the actual pid of the child process, not that of the killed parent process.
- Loading branch information...