JerryD Posted December 7, 2007 Posted December 7, 2007 The RunWait function returns the command's Exit code. I'm just wondering, if you use $Proc = Run ( "somecommand" ), is there a way to retrieve the Exit code of the command? Thanks.
weaponx Posted December 7, 2007 Posted December 7, 2007 Yes. With the ProcessOpenHandle function:http://www.autoitscript.com/forum/index.php?showtopic=23096
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