Re: Hiding console when running Cygwin utility from Task Scheduler.
- Date: Mon, 7 Aug 2017 19:52:35 +0300
- From: Andrey Repin <anrdaemon@xxxxxxxxx>
- Subject: Re: Hiding console when running Cygwin utility from Task Scheduler.
Greetings, Oleksandr Gavenko!
> I prepared backup task in Bash script and added task to run it in Windows Task
> 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:
> 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.
With best regards,
Monday, August 7, 2017 19:51:43
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple