I am using task scheduler. I am runing many console software on Startup. The console software works great in the background. Sometimes I want to see the "CONSOLE" of those software.
Is there any way to see the console/window of background process?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
If you start your task under specified account, option "Run when user is logged on or not", the task can't interact with desktop at all.
The option "Run only when user is logged on" does the trick, but it shows console always.
My personal solution - run console scripts in ConEmu it may start it taskbar status area and may be easily reveal from. Example below starts script in ConEmu in certain directory, waits for script finishes and closes the window.
Program: c:\tools\ConEmu\ConEmu64.exe Add arguments: -basic -StartTSA -dir c:\Sources -cmd cmd.exe /c c:\Sources\Maintain.cmd -cur_console:n
-basicforces some default ConEmu settings without interaction with user on first start.
-cmdis the command itself:
cmd.exe /c c:\Sources\Maintain.cmd.
-cur_console:npermits automatic window shutdown if script finishes promptly. Must be last switch.
I have decided to write small open-source software for that.
Software that let you connect to any other console program, and control it (see the console, and send commands)
In the task manager you run using the remote-console
remote-console --server [port] cmd.exe
Then, to see the console you need to connect to it:
remote-console --client [ip] [port]
You just need to install it oce using npm
npm i -g node-remote-console
pull requests are welcome :)