Launching and Closing Applications Remotely [SOLVED]

I’m making scripts to launch and close V-Ray render slaves using SlaveUtils.SendRemoteCommand. I’ve gotten this to work using cmd /C start and cmd /C taskkill, but the problem is, after I launch an application, I can’t send any more remote commands until I’ve closed it manually. Looking at the “Remote Command” panel, I can see the command in green with the status “Running” and no return code. It’s not until after I hit the close button that the status will change to “Succeeded” and I’ll see the “Results” column fill. If I don’t hit the close button, all the commands will get stuck in a queue and forever have the “Running” status. Just want to know how to launch and forget the same way Deadline launches and closes it’s own slaves in the “Remote Control” menu.
Thank you.

Whoops. I feel stupid now. Just found the command SlaveUtils.SendRemoteCommandNoWait.

No need to feel bad, sometimes we all miss stuff we shouldn’t. Glad you found what you needed, though.