Web lists-archives.com

Hiding console when running Cygwin utility from Task Scheduler.




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