Why do i need prefix openssl with winpty on windows bash?
--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Thinking It Over
--
Chapters
00:00 Why Do I Need Prefix Openssl With Winpty On Windows Bash?
00:24 Answer 1 Score 5
00:51 Accepted Answer Score 9
01:07 Thank you
--
Full question
https://superuser.com/questions/1273181/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows #bash #openssl #gitbash
#avk47
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Thinking It Over
--
Chapters
00:00 Why Do I Need Prefix Openssl With Winpty On Windows Bash?
00:24 Answer 1 Score 5
00:51 Accepted Answer Score 9
01:07 Thank you
--
Full question
https://superuser.com/questions/1273181/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows #bash #openssl #gitbash
#avk47
ACCEPTED ANSWER
Score 9
bash
from Git for Windows uses mintty
. mintty
cannot present itself as console to openssl
but winpty
can because it does the required conversions. Learn the details at Git for Windows FAQ.
ANSWER 2
Score 5
winpty is a Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs. The package consists of a library (libwinpty) and a tool for Cygwin and MSYS for running Windows console programs in a Cygwin/MSYS pty
Because you try to run native openssl in not-native shell, you have to have interface of winpty