Jump to content

Help with Script running/stopping a batch/exe


Recommended Posts

Posted

So im Running 2 Bots (Phantombot) for myself and a friend of mine. It's a bot for twitch chat. 

I've converted the batch file to exe. Tried to launch it through the script in pulseway and seems to work but I don't see the console popup at all. And there's no way to see if its still running or not. And I don't know how to stop it if its needed (for example if it gets stuck). 

Code I used:

psexec /accepteula -i -d "C:\Servers\Test Bot\RuschBot.exe"

 

 

Posted

Hi, 

you need to specify the session id:

psexec /accepteula -i 1 -d "C:\Servers\Test Bot\RuschBot.exe"

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...