sindresorhus / grunt-shell

Run shell commands
MIT License
949 stars 126 forks source link

Pipe not working #49

Closed soundstep closed 11 years ago

soundstep commented 11 years ago

Hi,

Please consider the following command:

echo -e "USERNAME\nPASSWORD" | jitsu login && jitsu deploy

The command jitsu login prompts for the username and password.

This command works in the shell but doesn't work with the grunt-shell. Somehow it goes straight to jitsu deploy before the login.

Any idea?

sindresorhus commented 11 years ago

grunt-shell just passes it to the Node .exec method.