This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Mintty/tmux hangs for 1 minute on startup - seems to be a forking issue
- From: "Anon User via cygwin" <cygwin at cygwin dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Sat, 1 Feb 2020 17:40:52 +0000 (UTC)
- Subject: Re: Mintty/tmux hangs for 1 minute on startup - seems to be a forking issue
- References: <595178088.221931.1580542748412.ref@mail.yahoo.com> <595178088.221931.1580542748412@mail.yahoo.com>
- Reply-to: Anon User <retry0001-vps at yahoo dot com>
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