-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirecting output of winpty to file #100
Comments
This issue reminds me of #93. You might be able to use (2017-01-30 edit: |
That would be a negative good sir:
Calling from the git for windows MinTTY Git Bash. |
Sorry, I meant |
😧 I've been bamboozled! It works now; thank you for looking into this. I really appreciate it. |
Add both '-Xallow-non-tty' and '-Xplain' to prevent ASCII escape characters |
I'm calling a python script using winpty; I'd like to do the following:
winpty /path/to/python script.py | tee output.txt
When I try to do this, I receive a message saying "stdout is not a tty". I'm calling this python script from a mintty console. Is there anyway to pipe output from winpty's pipe into an output file that I can read?
I have requirements that prevent me from using Cygwin's Python version. We use a portable version of python that I have to be able to resolve to using a shebang in my script.
The text was updated successfully, but these errors were encountered: