https://bugs.winehq.org/show_bug.cgi?id=50705
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
--- Comment #1 from Damjan Jovanovic damjan.jov@gmail.com --- (In reply to megastallman from comment #0)
Hi guys!
The current bug pretty much reminds me this one: https://bugs.winehq.org/show_bug.cgi?id=48891 , but Damjan's and Dmitry's patches don't fix it. The difference is that I'm using cygwin64 on wine64.
Pretty much anything that causes fork() to return 0 to both parent and child will cause the console to close after its first command (ie. first fork()), and a lot can go wrong during fork().
Bug 48891 got fixed with a more advanced patch than the ones you tested, please try again with the latest Git or release 6.11 when it comes out.
Try some bash builtins like "pwd". Do they still cause the console to close?
Try "strace -o /path/to/strace.txt <command>" in the Cygwin bash console, eg. "strace -o strace.txt ./ls.exe" and attach that strace.txt.