Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Could you describe what you want to do with it? Commented Dec 2, 2011 at 20:27
  • Yes, I want to replace the running process with the child process in and identical manner to Ruby's 'exec'. Commented Dec 2, 2011 at 20:30
  • For those of us familiar with Node but not Ruby, perhaps you could explain why Node's child_process.exec is not satisfactory. Commented Dec 2, 2011 at 20:30
  • @MДΓΓБДLL I want to replace the running process with the child process. Write a quick ruby script to test this behavior, put only the following line: exec('node'). You'll notice that the ruby interpreter is now the node interpreter. Commented Dec 2, 2011 at 20:33