public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Hiding console when running Cygwin utility from Task Scheduler.
@ 2017-08-02 16:06 Oleksandr Gavenko
  2017-08-02 19:21 ` Brian Inglis
  2017-08-07 17:05 ` Andrey Repin
  0 siblings, 2 replies; 10+ messages in thread
From: Oleksandr Gavenko @ 2017-08-02 16:06 UTC (permalink / raw)
  To: cygwin

I prepared backup task in Bash script and added task to run it in Windows Task
Scheduler:

  Executable: c:\opt\cygwin\bin\bash.exe
  Params: c:\home\backup\backup-job.bash

Each time job run I see console screen. 'procmon' shown that it is::

  \??\C:\Windows\system32\conhost.exe 0xffffffff -ForceV1

Seems each Cygwin utility brings console into foreground. I also tested with:

  c:\opt\cygwin\bin\yes.exe

How can I prevent console to be shown when bash started from Task Scheduler?

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-08-08  0:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02 16:06 Hiding console when running Cygwin utility from Task Scheduler Oleksandr Gavenko
2017-08-02 19:21 ` Brian Inglis
2017-08-02 23:41   ` Oleksandr Gavenko
2017-08-03  5:21     ` Brian Inglis
2017-08-03 11:43       ` Oleksandr Gavenko
2017-08-03 13:05         ` cyg Simple
2017-08-03 14:09           ` Oleksandr Gavenko
2017-08-07 17:05 ` Andrey Repin
2017-08-07 17:36   ` Oleksandr Gavenko
2017-08-08  0:05     ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).