jaraco / pip-run

pip-run - dynamic dependency loader for Python
MIT License
136 stars 19 forks source link

Stdin not piped #16

Closed jaraco closed 7 years ago

jaraco commented 7 years ago

When piping input to a rwt-launched process, the stdin is not piped so any content piped is lost at the rwt invocation.

jaraco commented 7 years ago

Well, or so I thought. But trying to prove the most basic case, it seems stdin is piped:

$ echo 'foo' | python -c "import sys; print(list(sys.stdin))"
['foo\n']
$ echo 'foo' | rwt -- -c "import sys; print(list(sys.stdin))"
You must give at least one requirement to install (see "pip help install")
['foo\n']