X-Recipient: archive-cygwin@delorie.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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=jEC/evJlleK/QP4J
	TsHDPPhv4r2MxS9aOchf92iXra8Ef1bQIne26Qw7ufWBa+9I4cYLtAS0TgKNLLTs
	BMiOuNV3zaZK4qezpQ6sHvZIr/llvCt0ZFR3LPKHPTBDqF/MwH2J1wop49emej+1
	F2VQhAbpKmyI4M6myQ2sINSJQ24=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=rqZiyFi0vfqYVge9gNKEq6
	U04tM=; b=Em1Rwq0DECfHxg31NJSjxdbGnOg5Nj/iPs/Tf+YQjIMpiLTxo0YHzy
	VEPbn4gFD0dfWZfTaxUy2691VFFPmEo5Ep4drbIrm3j/OpXcCPXywHHKrrfAN1Di
	oqj7PCqAJxt/PUHe/m741kUUAUw3/HdvlGOp69LRyCcWDeTwa2r+A=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=hiding, Scheduler, shells, online
X-HELO: mail-io0-f175.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:subject:to:references:from:message-id:date         :user-agent:mime-version:in-reply-to:content-language         :content-transfer-encoding;        bh=yvJUNFAZsCJlDB0ae4QlF5s1kyxTR1lC2AWDp8m8ajg=;        b=BkwQN0Cf6lDI2FHZsV9DNXcRkGSCmhZFO+Orkc74hElzM1EsuHJK5d/VDBOG+csZaW         x4m1Jcc0p1RDHYA6HfwQv9gdqU494gaN1942wU/e4V+hKQ6oIiosSmna5hkQahslOPmb         9Y3jhCFRKJiND5JeVEq7CA1DpclELR8YY32CIokX8sOMxz5C8vOwRLQO6cam1hzNMQGz         yfKllK3IrSLuTfnRTG9OczTa5Y0QWNiKZHWsnVR5IzElFQaVolT7DXqnXjGDCsinh5zm         1SSALB5NpU5fout1SXQiv5mK+OKgmzDuqiECz/IBcKBCz4qNZc2PJ6xdBA7vAXGTfphI         EMtQ==
X-Gm-Message-State: AHYfb5iWGMXnJVn0HGpXUbz1cYJqntTiZRStks8XtPzg3pxA9R6q/vQm	+fT14kj1VAHQRheG
X-Received: by 10.107.9.90 with SMTP id j87mr1778253ioi.286.1501765545112;        Thu, 03 Aug 2017 06:05:45 -0700 (PDT)
Subject: Re: Hiding console when running Cygwin utility from Task Scheduler.
To: cygwin@cygwin.com
References: <86o9ryymx5.fsf@gavenkoa.example.com> <a547973c-5175-9dc8-1b8a-55635e73983b@SystematicSw.ab.ca> <8660e5wnb6.fsf@gavenkoa.example.com> <f5574d4f-6edd-d179-f4fc-5fff611eaa70@SystematicSw.ab.ca> <861sosx4g9.fsf@gavenkoa.example.com>
From: cyg Simple <cygsimple@gmail.com>
Message-ID: <a33b9beb-c4de-defc-713b-4e74fc8ab09e@gmail.com>
Date: Thu, 3 Aug 2017 09:05:45 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <861sosx4g9.fsf@gavenkoa.example.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes


Why did no one mention:

$ /usr/bin/nohup --help
Usage: /usr/bin/nohup COMMAND [ARG]...
  or:  /usr/bin/nohup OPTION
Run COMMAND, ignoring hangup signals.

      --help     display this help and exit
      --version  output version information and exit

If standard input is a terminal, redirect it from an unreadable file.
If standard output is a terminal, append output to 'nohup.out' if possible,
'$HOME/nohup.out' otherwise.
If standard error is a terminal, redirect it to standard output.
To save output to FILE, use '/usr/bin/nohup COMMAND > FILE'.

NOTE: your shell may have its own version of nohup, which usually supersedes
the version described here.  Please refer to your shell's documentation
for details about the options it supports.

GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Full documentation at: <http://www.gnu.org/software/coreutils/nohup>
or available locally via: info '(coreutils) nohup invocation'

------------

If you use nohup you'll need to specify the absolute paths or be sure to
introduce Cygwin executable directory on your Windows PATH which we
discourage.

-- 
cyg Simple

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

