From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107536 invoked by alias); 3 Aug 2017 14:09:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 105540 invoked by uid 89); 3 Aug 2017 14:09:29 -0000 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 Received: from Unknown (HELO blaine.gmane.org) (195.159.176.226) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 03 Aug 2017 14:09:27 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ddGoK-0002uX-A0 for cygwin@cygwin.com; Thu, 03 Aug 2017 16:09:12 +0200 To: cygwin@cygwin.com From: Oleksandr Gavenko Subject: Re: Hiding console when running Cygwin utility from Task Scheduler. Date: Thu, 03 Aug 2017 14:09:00 -0000 Message-ID: <86wp6kvj3t.fsf@gavenkoa.example.com> References: <86o9ryymx5.fsf@gavenkoa.example.com> <8660e5wnb6.fsf@gavenkoa.example.com> <861sosx4g9.fsf@gavenkoa.example.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 X-SW-Source: 2017-08/txt/msg00043.txt.bz2 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