What happens is it hangs on that openpty() call.  It displays Start 
immediately.  But then around a minute later it shows the rest.

$ ./a.exe
Start.
** hangs here about 1 minute **
PTY opened.
PTY closed.

I took the liberty of adding time() calls just before and after the openpty() 
call:

$ ./a.exe
Start.
1580578712
PTY opened.
1580578772
PTY closed.

It turns out to be exactly 1 minute -- like there's a 60 second timeout waiting 
for something...

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to