Menu

#424 StdIn/StdOut don't exist

open
nobody
None
5
2015-01-13
2013-01-02
Mike
No

I've got a bunch of python scripts I wrote that take input from stdin and write back to stdout. They all work fine under the windows command prompt but when I started to use Console2 none of them work now.

Version: 2.00.148

Example:
python.py > out.csv
Error: The process tried to write to a nonexistent pipe.

If I try to read from stdin:
type file.csv | python.py
line1 = sys.stdin.readline()
print line1
Error: prints empty line

Run the exact same commands in Windows cmd and get the expected results without problems

Discussion


Log in to post a comment.