Skip to content


Subversion checkout URL

You can clone with
Download ZIP


use spawn instead of exec to run commands #6

pmuellr opened this Issue · 0 comments

1 participant


Currently, wr uses child_process.exec() to run commands. Unfortunately, this buffers the output - not friendly. child_process.spawn(), on the other hand, does not buffer the output.

The default should probably be to use spawn(). This will require parsing the cmd, presumably by whitespace tokens, destroying any potential quoting you might have done in your command. But commands should be "simple" anyway, right? :-)

So, default to parse command and use spawn, with a command-line option to use exec() instead.

@pmuellr pmuellr closed this in 8a28ecf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.