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=Z+KGZVKsiUWdgwgV
	RN1u/l5bW7GEQcfs81yQhoJqcdVr9hYUHMAdsi3Qrq9xNcR2rQOlCVNfJcNHb+Y8
	riOHIk4lFLlgLp4zrnmJ028JuIIk+DvNOe0AF1EIMo/famIHZuqbCAfYcyiFvm2o
	ceSVeWa1DYjLaJI4Pz5C8bkVGCI=
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=Ojdh6LSdfiHeXxU0sbtuDe
	294uI=; b=DGiGJlbzL9BjDIaiCb/k6QQylWh9doup1Lh5k+zxdsgQBwj05G37uk
	ppiDdPaUU8McHD2hTzTKswiqqhdOv+Od6qOslXAC+e+E6T2k0JJzeAPUqkPXzOnH
	qC19rkVM7iP3Y5nanBaNRniMvIBiA8ce6qJkPz+pEBfXAi/e/R9Y0=
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=H*r:Unknown, radio
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: Mon, 07 Aug 2017 20:35:58 +0300
Lines: 17
Message-ID: <86o9rruvpd.fsf@gavenkoa.example.com>
References: <86o9ryymx5.fsf@gavenkoa.example.com>	<1685771259.20170807195235@yandex.ru>
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-07, Andrey Repin wrote:

>> How can I prevent console to be shown when bash started from Task Scheduler?
>
> Do not start tasks as current user. Or use wrapper that prevent console
> window creation in first place.

Brian Inglis told about this solution:

>> (o) Run whether user is logged on or not radio button

The problem only if you run as:

 [x] run only when user logged in

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

