You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
weedySeaDragon edited this page Jul 25, 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)
The command file must be executable. That is, the file that runs the command/program for your process must be set as 'executable' by icacl