How to Kill Task from other Running Task?
Posted: Fri Jul 11, 2008 12:55 pm
Hello,I have a task (let's call it task 1) that starts another (task 2). Task 2's job is to catch potential error windows that pop up while Task 1 is running. When Task 1 finishes it's job, it stops Task 2 and restarts the computer.The problem I'm having is that "stopping" Task 2 doesn't actually "kill" it. Thus, when Task 1 tries to restart the computer, I get an error from RoboTask that Task 2 is still running.I tried sending the stop command twice (to emulate how the stop button works in the RoboTask GUI) but this still does not kill Task 2.Anyone know how to do this?