delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.9 required=5.0 tests=AWL,BAYES_50,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
connect(): | No such file or directory |
From: | Oleksandr Gavenko <gavenko AT bifit DOT com DOT ua> |
Subject: | mc --subshell after exit forget kill bash. |
Date: | Thu, 13 May 2010 10:00:40 +0300 |
Lines: | 30 |
Message-ID: | <hsg82o$1pk$1@dough.gmane.org> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
bash# ps PID PPID PGID WINPID TTY UID STIME COMMAND 4056 1 4056 4056 ? 1003 09:42:56 /usr/bin/mintty 516 4056 516 1992 8 1003 09:42:56 /usr/bin/bash 664 516 664 304 8 1003 09:43:17 /usr/bin/ps bash# mc --subshell bash-3.2$ ps <<<< in MC >>>> PID PPID PGID WINPID TTY UID STIME COMMAND 4056 1 4056 4056 ? 1003 09:42:56 /usr/bin/mintty 516 4056 516 1992 8 1003 09:42:56 /usr/bin/bash 1368 516 1368 1908 8 1003 09:43:52 /usr/bin/mc 360 1368 360 244 0 1003 09:43:52 /usr/bin/bash 284 360 284 628 0 1003 09:43:54 /usr/bin/ps <<<< press F10 >>>> bash# ps PID PPID PGID WINPID TTY UID STIME COMMAND 4056 1 4056 4056 ? 1003 09:42:56 /usr/bin/mintty 516 4056 516 1992 8 1003 09:42:56 /usr/bin/bash I 360 1 360 244 0 1003 09:43:52 /usr/bin/bash 1408 516 1408 1088 8 1003 09:44:59 /usr/bin/ps Bashes marked with 'I' appear so many times how many times you run and exit MC. I run MC through 'mintty -e mc --subshell'. After some count (~10-12 ???) of run and exit form MC I got error (recorded not literary): "no free pty available". So MC MUST kill subshell after exit. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |