m19c / gulp-run

Pipe to shell commands in gulp
ISC License
151 stars 25 forks source link

pipe to stdout? #15

Closed soundyogi closed 10 years ago

soundyogi commented 10 years ago

How can i pipe the stdout from the child process to the console?

thx in advance ^^;

cbarrick commented 10 years ago

It should print to console by default.

Try the verbosity:2 option, as in:

run('echo hello world', {verbosity: 2}).exec()

Values less than 2 for verbosity silence the output, and silent:true is the same as verbosity:1.

Are you running into a bug? If so, could you give me some more details on how to reproduce it?

It prints to console by default on my system:

astroanu commented 7 years ago

Hey, i'm running webpack command in a child process. The output DOES get printed but only after the command has completed. is there a way to steam the output while it's running ? Thanks.

astroanu commented 7 years ago

setting verbosity to 3 did the trick !