To execute a my application in foreground in win10'cmd:
c:\myapp\app.exe -c c:\myapp\config.json
I want to create a hotkey binding with the above cmd command and execute in background.
Click on desktop--new--hotkey,write the command c:\myapp\app.exe -c c:\myapp\config.json
in target menu,named it myapp
.
It is no use to write start "c:\myapp\app.exe -c c:\myapp\config.json"
.
It encounter error when to press apply
.
Now there is a hotkey on my win10's desktop,click the hotkey myapp
,it execute in foreground,how to make it run in background?
It is no use to write it as start /B c:\myapp\app.exe -c c:\myapp\config.json
and select the normal window
in run selection menu.
The command c:\myapp\app.exe -c c:\myapp\config.json
start my app and show all info in window's cmd console,i want to make it run as a daemon and not to show all info in window's cmd console.