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:to:from:subject:date:message-id:references
	:mime-version:content-type; q=dns; s=default; b=RsDS6ktdHdrWwFke
	egVCd7rabMIa2GN6PwLc0CYSu+dHTYH/SNV5lro8OS8sy0EuZObWosXmTY6VuzSr
	Z3AY2X32qgAy+Q3oZL77xvru2sfa6xIhRxS4PZX+Ooqhe5+iE4R0x9rU5LMS4mTx
	Psrk68wYt3aa26EJUHqZIm8Q3is=
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:to:from:subject:date:message-id:references
	:mime-version:content-type; s=default; bh=0pSl8bt4HOryw50qHvOsmp
	6d3Y0=; b=F6z9Vj2Ir503m4BX1Vj86Xvj2oxpA1LVaDFynm83L7Gr92rQTMbpuU
	tG0aLSJGmrXdvhJGnLBSd7Y944EiAMBEpOMJinJ2l6zaRiGyb1D2QH2x6rTamPGn
	TibdPLxHzWTEL5RFOVEMgF84BJrja7hE5FWiJ3DWJODwC9nOek0qo=
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=-0.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY,KAM_OTHER_BAD_TLD autolearn=no version=3.3.2 spammy=hiding, Scheduler, GUI, H*r:Unknown
X-HELO: blaine.gmane.org
To: cygwin@cygwin.com
From: Oleksandr Gavenko <gavenkoa@gmail.com>
Subject: Re: Hiding console when running Cygwin utility from Task Scheduler.
Date: Thu, 03 Aug 2017 17:09:10 +0300
Lines: 22
Message-ID: <86wp6kvj3t.fsf@gavenkoa.example.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>	<a33b9beb-c4de-defc-713b-4e74fc8ab09e@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (windows-nt)
X-IsSubscribed: yes

On 2017-08-03, cyg Simple wrote:

> Why did no one mention:
>
> $ /usr/bin/nohup --help

Because we under Windows and all Cygwin binaries built as console apps and
show console window.

You may check it yourself:

  Win+R nohup yes RET

It is not easy to hide console. You need to build GUI program that will hide
console of next running program or something like that. My knowledge is very
limiting regarding Windows.

Under Unix nohup detaches app from controlling terminal so you may leave
terminal session and program isn't terminated by SIGHUP signal.

-- 
http://defun.work/


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

