public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: "setup-x86 --quiet-mode" problems
Date: Sun, 22 Apr 2018 16:28:00 -0000	[thread overview]
Message-ID: <f8ecc544-966d-132b-cc0b-4a065ce18b4d@SystematicSw.ab.ca> (raw)
In-Reply-To: <642458633.20180422165145@yandex.ru>

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

      reply	other threads:[~2018-04-22 16:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-19 16:31 Ulli Horlacher
2018-04-19 16:36 ` Vince Rice
2018-04-19 23:28 ` Brian Inglis
2018-04-20 10:23   ` Ulli Horlacher
2018-04-22 14:05     ` Andrey Repin
2018-04-22 16:28       ` Brian Inglis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f8ecc544-966d-132b-cc0b-4a065ce18b4d@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).