rbhkamal Posted November 30, 2007 Share Posted November 30, 2007 Hi, How do you retrive the exit code for a process when using run() (not runAndWait()). I can't use runandwait becuase I need to collect the error stream. Regads, Ribhi "When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix Link to comment Share on other sites More sharing options...
weaponx Posted November 30, 2007 Share Posted November 30, 2007 (edited) You can use the elusive ProcessGet UDF posted here:#394952- or -Original post in Example Scripts:http://www.autoitscript.com/forum/index.php?showtopic=23096 Edited November 30, 2007 by weaponx Link to comment Share on other sites More sharing options...
Developers Jos Posted November 30, 2007 Developers Share Posted November 30, 2007 You can use the elusive ProcessGet UDF posted here:#394952- or -Original post in Example Scripts:http://www.autoitscript.com/forum/index.php?showtopic=23096That UDF need to be updated for the new release since it uses a wrong definition for a pointer... "int_ptr" needs to be "int*"Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
weaponx Posted November 30, 2007 Share Posted November 30, 2007 That UDF need to be updated for the new release since it uses a wrong definition for a pointer... "int_ptr" needs to be "int*"JosThat is such a great function. It would be nice to have something integrated. Link to comment Share on other sites More sharing options...
rbhkamal Posted November 30, 2007 Author Share Posted November 30, 2007 Now I remmeber..... I knew there was something on here I just couldn't find it (becuase I wasn't searching example scripts) Thanks "When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix 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