Cygwin: pty: Treat *.bat and *.cmd as a non-cygwin console app.
commitd5229f821160c9e9875c4b662f5be097b7cf6d18
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Sun, 31 Jul 2022 08:42:00 +0000 (31 17:42 +0900)
committerTakashi Yano <takashi.yano@nifty.ne.jp>
Sun, 31 Jul 2022 08:55:42 +0000 (31 17:55 +0900)
tree6fcde4feff08c63c60e867a288a09386d8797dfc
parent8d564b62b711bc93850c1b6a8632196abc4768cf
Cygwin: pty: Treat *.bat and *.cmd as a non-cygwin console app.

- If *.bat or *.cmd is executed directly from cygwin shell, pty
  failed to switch I/O pipe to that for native apps. This patch
  fixes the issue.
winsup/cygwin/release/3.3.6
winsup/cygwin/spawn.cc