Skip to content

Using ChildProcess with Windows

weedySeaDragon edited this page Jul 12, 2015 · 2 revisions

Notes about using ChildProcess with Windows

This is a place to collect hints and tips about using ChildProcess on Windows. Because Windows doesn't work in the same way as *nix systems, there are some specific differences to be aware of. The goal of this page is to first collect info in one place. The information can be organized once it starts to get unruly.

If you have tips to add, please do so! Information collected from closed issues or the code would be really helpful.

Notes and Tips

  • ChildProcess doesn't execute your command in a shell like the backtick method does. If that's what you want you should be explicit:
    process = ChildProcess.build("cmd.exe", "/c", "echo 'Hello World'")

(from #85)

Clone this wiki locally