delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/08/03/10:09:46

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: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 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=-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 AT cygwin DOT com
From: Oleksandr Gavenko <gavenkoa AT gmail DOT 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 DOT fsf AT gavenkoa DOT example DOT com> <a547973c-5175-9dc8-1b8a-55635e73983b AT SystematicSw DOT ab DOT ca> <8660e5wnb6 DOT fsf AT gavenkoa DOT example DOT com> <f5574d4f-6edd-d179-f4fc-5fff611eaa70 AT SystematicSw DOT ab DOT ca> <861sosx4g9 DOT fsf AT gavenkoa DOT example DOT com> <a33b9beb-c4de-defc-713b-4e74fc8ab09e AT gmail DOT com>
Mime-Version: 1.0
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

- Raw text -


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