Questions tagged [winpty]
13 questions
61
votes
1 answer
Winpty and Git Bash
I had the same issue as Python not working in the command line of git bash, where in Git Bash, when I type Python, it just hangs.
However, typing winpty python works perfectly.
What exactly is winpty? Why is the above command useful?

Nico
- 733
- 1
- 6
- 7
2
votes
0 answers
The terminal process failed to launch: A native exception occurred during launch (Error launching WinPTY agent: agent executable does not exist: '
The terminal process failed to launch: A native exception occurred during launch (Error launching WinPTY agent: agent executable does not exist: '\?\C:\Users\AppData\Local\Programs\Microsoft VS…

GHULAM NABI
- 498
- 5
- 15
1
vote
0 answers
Why did I have to remove bin/sh to run the winpty docker run command?
I am running a simple docker image and want to check if the applications have been installed. As I am running on windows I need to run the infamous winpty.
I noticed, however, through trial and error. That the below does not work
winpty docker run…

JnooriRS
- 103
- 11
1
vote
1 answer
Running multiple Python scripts in parallel using bash
I want to run a simple python script 100 times in parallel using bash. If I run the python scrips serial everthing is fine, but if I run them in parallel I get the error
stdin is not a tty
Presumably because the same python file gets opened multiple…

Jürg W. Spaak
- 2,057
- 1
- 15
- 34
1
vote
0 answers
Can't import WinPty in Mamba/Conda Environment
I'll try to outline what the issue I'm facing in this post:
Issue
For some reason, the winpty module cannot be imported in the base mamba/conda environment on an AWS virtual machine I have running Windows Server 2016 running on an EC2 instance on…

blue2609
- 841
- 2
- 10
- 25
1
vote
1 answer
Is there support for WinPty in mingw-w64?
Context: we are building cross-platform application from linux (ubuntu). We use the available mingw-w64 from ubuntu packages (v7.0.0-2 at the time of writing).
We would like to start using the Windows ConPTY API (aka pseudo-console).
Is there…

Developer AGCO
- 21
- 4
1
vote
1 answer
Android Studio terminal not opening/working
I got following error while trying to open Android Studio terminal.
Cannot open Local Terminal
Failed to start [cmd.exe] in D:/NirapodBima
See your idea.log (Help | Show Log in Explorer) for the details.
As per error log instruction went to…

Swapon
- 409
- 6
- 16
1
vote
0 answers
Windows docker, specifying named volume under winpty command line causing includes invalid characters problem
I want to run docker in Git Bash under Windows.
If use docker run --rm -ti -v my-vol:/myvol my_volume_test:latest under Cmd/Powershell, all is good.
But to use docker under Git Bash, I need to prefix the command with winpty, that's where the…

xpt
- 20,363
- 37
- 127
- 216
0
votes
0 answers
Running mysql client with password authentication in Bash script
I have the following goal: import an sql file from Git Bash in Windows inside a script.
(I have mysql 8, but 5.7 the same as far as I tried.)
The commands, which I tried individually:
$ mysql -u root -p {pw} --database={db} < xy.sql
(no answer)
$…

v-peter
- 1
- 2
0
votes
1 answer
he input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'
If you are getting this kind of error then follow these instruction

er.arunkushwaha
- 138
- 1
- 5
0
votes
0 answers
visual code gives winpty error and won't open at all
visual code gives two types of errors and does not open in both.
enter image description here
Sometimes the error number 259 appears on the screen, sometimes it gives the winpty error and prevents the terminal from opening. How can i solve this…

wiartros
- 1
0
votes
0 answers
Garbled output to Telnet client using Python, asyncio, andpywinpty
I'm trying to write a cross-platform, wrapper around console apps that will allow me to connect to their stdio from network/remote clients. It is a VERY pared down concept of what Terminado does. In Windows, I'm trying pywinpty so that functions…

Robatron
- 83
- 9
0
votes
1 answer
Starting the algorand sandbox but the error "the input device is not a TTY" comes up?
I'm trying to setup the alogrand development environment using the algorand sandbox, when I start the sandbox using the git bash and the command ./sandbox up the following error comes up:

Tamim Ehsas
- 47
- 6