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
Currently, it isn't possible to do something like cat file.txt | shx grep 'foo'. It looks like shx isn't passing stdin along to the ShellJS command (although most commands actually support this).
This is currently blocking my work on shelljs/shelljs#525 (I'd like to replace .exec('grep...') with .exec('shx grep...')).
This should be an easy fix, if someone wants to take it up. Looks like we'll only have to change these lines to call the shelljs function with a different this parameter (see the piping docs).
The text was updated successfully, but these errors were encountered:
Read all of stdin and pass it to the underlying ShellJS command. This is also
adds support for mocking stdin during tests, and refactors the mock utilities.
Fixes#80
Read all of stdin and pass it to the underlying ShellJS command. This is also
adds support for mocking stdin during tests, and refactors the mock utilities.
Fixes#80
Currently, it isn't possible to do something like
cat file.txt | shx grep 'foo'
. It looks like shx isn't passing stdin along to the ShellJS command (although most commands actually support this).This is currently blocking my work on shelljs/shelljs#525 (I'd like to replace
.exec('grep...')
with.exec('shx grep...')
).This should be an easy fix, if someone wants to take it up. Looks like we'll only have to change these lines to call the shelljs function with a different
this
parameter (see the piping docs).The text was updated successfully, but these errors were encountered: