Jump to content
Sign in to follow this  
Allow2010

Problem with ProcessClose

Recommended Posts

Allow2010

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 !

Share this post


Link to post
Share on other sites
Allow2010

thanks, works fine...but strange that ProcessClose behaves different than other ways to close a process...

Share this post


Link to post
Share on other sites
Allow2010

ahh, thank you...interesting way to do it...i will try it out

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×