delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/04/19/19:28:58

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=lu9zDYZui6cjmxuw
q6vORa1DYUaBHWb1iiOzFPrdj5gOQF8N/YaABFuM/A19FXoJPXcIpejSVmKCdWNe
li4bdaMiMK0EvikCFAB4V5nWTZlOX8yCKQonnUCqZFQruSLDBy14Bj5jscUQrWIf
+AdfVd16Gl8/jCEwYVau/4GgPfM=
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=P+RLDDGHx/1q7YBjpDPvAw
CN6jw=; b=VWy0cPDh8MtlWS9839F9jtEdz5hNxNd8/cABAMkZ6HpGzkhH2JEPk3
J8pXAClwo3JJXd20+296AEpYA2SiQpzQxEX1dDce2Wqzw0a+qz/XAcKl/YVHCu4+
NZIPDCYeFf62b6V0FILMEN4aaS5kE9bnn4cIE4FIEl5QJm4HqGGmg=
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=H*Ad:D*ca
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.3 cv=cav8UELM c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=w5aJ8kaLLAry8Qfnm_kA: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>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <e22e48aa-d4e4-0b7c-7c53-6f2aecaa297e@SystematicSw.ab.ca>
Date: Thu, 19 Apr 2018 17:28:42 -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: <20180419163128.GA7093@rus.uni-stuttgart.de>
X-CMAE-Envelope: MS4wfDwOb+wkxpBZP9nabhtKvlp8YvoOnW15ZHWZDkbCBcO9j3yMn4kVYww8JP7OLffCGNFl6JRvAoQdLroI0eoBrDtFNAcUZiT5CGY7Yq5UXH0gnnqbtp4P LZRsGSkHTNJf+CLkcMiJsfg5+aUGh9Oy33mULBG0IYsiL1a0J3+FY6eiTqqMtIv/pJ5XFDiLmswdzw==
X-IsSubscribed: yes

On 2018-04-19 10:31, Ulli Horlacher wrote:
> I have an update script which calls "setup-x86 --quiet-mode".
> So far, this works great, but now it tries to install a new mintty.exe,
> but one mintty still running (where I started setup-x86), so setup-x86
> kills this process... and setup-x86.exe is killed, too, which resulted in
> a damaged cygwin installation :-(
> I was able to fix it by running setup-x86.exe via Windows Explorer (puhhhh!).
> How can I avoid this kind of problem in the future?
> I tried it with:
> setup-x86 --quiet-mode &
> sleep 1
> kill -9 $PPID
> But setup-x86 was killed again, too.

cygstart .../setup-x86 --quiet-mode ... && sleep 1 && kill -9 $$ $PPID

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019