delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=P6CVqpVCraIyp+yM | |
lcj0c6T+f/lTTm69W1pB8u/h0NVObcnMeUrb6VKtgEL5sxUNV2zkyOR4WlCCMAQB | |
C4dGUo/hcISendnG8beJ0aEwqhGtI6S8Cqrf37fYQBMZqxT56gkhxfrWKPduoZ6f | |
VsrhsAbokEaV0jOO7lgEi+Vifu4= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=stf+wwRwvOb+ktKXQtrhRJ | |
k99VY=; b=QmHveg/VPFNgtDN+HPDiF07bzbGa0tYH3/s/eorUaEU2YjTWSQtFCl | |
aQhmdW/n0W3WoRQvJzKTu1jMCi7NWuGSFcGsBWV6zuAEQY05luPNteiBGPDZRHP2 | |
P6D9AipagrRqiSiPmca2QlPcf9QQ/NaTRQ/TXDTGK7VfEpFrbLGb0= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=kills, pgid |
X-HELO: | smtp-out-so.shaw.ca |
X-Authority-Analysis: | v=2.3 cv=SJtsqtnH c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=TUXEzbr53-WOl4UA73EA:9 a=QEXdDO2ut3YA:10 |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: "setup-x86 --quiet-mode" problems |
To: | cygwin AT cygwin DOT com |
References: | <20180419163128 DOT GA7093 AT rus DOT uni-stuttgart DOT de> <e22e48aa-d4e4-0b7c-7c53-6f2aecaa297e AT SystematicSw DOT ab DOT ca> <20180420102353 DOT GB21217 AT rus DOT uni-stuttgart DOT de> <642458633 DOT 20180422165145 AT yandex DOT ru> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Message-ID: | <f8ecc544-966d-132b-cc0b-4a065ce18b4d@SystematicSw.ab.ca> |
Date: | Sun, 22 Apr 2018 10:28:40 -0600 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <642458633.20180422165145@yandex.ru> |
X-CMAE-Envelope: | MS4wfOafIydWzYcIsVzptFG8kVgCn2UOFkqW+fA+eQVlTbg1Ls0pUNK/+cEdDtBdY2brfgwWQ22gilLK2ti62LT8N2IEyqA8xPHmsvATHGmg/EDjhh8oCrlG FOgKvPg66mSuYoDMP1bx5TiMdC5J6hb1WXXE0DIAkE7/10VG7MSA0zYmVFrP2X71t2sBCNJ/6BlEnA== |
X-IsSubscribed: | yes |
On 2018-04-22 07:51, Andrey Repin wrote: >> On Thu 2018-04-19 (17:28), Brian Inglis wrote: >>> cygstart .../setup-x86 --quiet-mode ... && sleep 1 && kill -9 $$ $PPID >> Ahh... cygstart does the trick! :-) >> I was not aware of this helper program. Good to know! > In this specific case, it is better to use > cmd /C START "" "$( cygpath -ma ".\\setup-${ARCH}.exe" )" -O -s "${MIRROR%%/}/" $KEYS "$@" & > So that you detach completely from the cygwin process tree. That's exactly what cygstart does: $ cygstart .../setup $ ps -W | egrep 'COMMAND|setup' PID PPID PGID WINPID TTY UID STIME COMMAND 7080 0 0 7080 ? 0 10:10:48 C:\...\setup-x86_64.exe as I use it in a script which kills Cygwin processes after launching setup. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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 |