chebum / Supervisor

Simple process supervisor for Windows
MIT License
74 stars 8 forks source link

Run in background? #3

Closed rp1231 closed 2 years ago

rp1231 commented 2 years ago

Hi chebum,

I just wanted to ask if it is possible to run this app in the background?

Thanks

chebum commented 2 years ago

Hi,

I believe you can run it in background from command line as below:

start /B supervisor myapp.exe

rp1231 commented 2 years ago

I tried that, but the window still stays..... cmd_yY8mL3SgzY

rp1231 commented 2 years ago

Doesn't seem like there is a way to do this just by using the commands.

Am currently using autohotkey to run it hidden.

Closing this as there seems to be no better solution at the moment.

TheExpertNoob commented 1 year ago

try in PowerShell. You can also save the below as a .ps1 file to run it. Start-Process -WindowStyle hidden -FilePath supervisor.exe myapp.exe