Cygwin: pty: Make rlwrap work with cmd.exe.
- After the commit 919dea66
, "rlwrap cmd" fails to start pseudo
console. This patch fixes the issue.
This commit is contained in:
parent
bb93c6d7c2
commit
5176afeb7d
|
@ -1170,6 +1170,8 @@ fhandler_pty_slave::reset_switch_to_pcon (void)
|
|||
}
|
||||
if (isHybrid)
|
||||
return;
|
||||
if (get_ttyp ()->pcon_start)
|
||||
return;
|
||||
WaitForSingleObject (pcon_mutex, INFINITE);
|
||||
if (!pcon_pid_self (get_ttyp ()->pcon_pid)
|
||||
&& pcon_pid_alive (get_ttyp ()->pcon_pid))
|
||||
|
|
Loading…
Reference in New Issue