Allow2010 Posted February 25, 2012 Share Posted February 25, 2012 Hi all, i have a strange problem with ProcessClose. I need to kill a process in my script and it works fine, but the process always ends with exitcode 0 when i kill it with ProcessClose. As the normal exitcode is 0 this confuses the script that reads the exitcode. When i kill it from the taskmanager it exits with exitcode 1 and everything is fine... Any idea what i can do here? Thanks in advance ! Link to comment Share on other sites More sharing options...
Allow2010 Posted February 25, 2012 Author Share Posted February 25, 2012 thanks, works fine...but strange that ProcessClose behaves different than other ways to close a process... Link to comment Share on other sites More sharing options...
DW1 Posted February 25, 2012 Share Posted February 25, 2012 Sounds like THIS might be of interest to you AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Allow2010 Posted February 25, 2012 Author Share Posted February 25, 2012 ahh, thank you...interesting way to do it...i will try it out Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now