vex
14 years agoContributor
Am I using Sys.WaitProcess correctly?
I have this code:
Both client.exe and agent.exe are running and in task manager when this code is executed.
But in the log, it shows:
CLIENT.EXE Running: False
AGENT.EXE Running: False
What gives?
Log.Message "CLIENT.EXE Running: " & Sys.WaitProcess("Client.EXE", 2000).Exists
Log.Message "AGENT.EXE Running: " & Sys.WaitProcess("Agent.EXE", 2000).Exists
Both client.exe and agent.exe are running and in task manager when this code is executed.
But in the log, it shows:
CLIENT.EXE Running: False
AGENT.EXE Running: False
What gives?