Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 21st October 2002, 17:58   #1
BradWaite
Junior Member
 
Join Date: Oct 2002
Posts: 10
Return value from ExecWait

Hey all,

I know I can check the error flag to see if ExecWait returned an error, but is there any way to see what that error is?
BradWaite is offline   Reply With Quote
Old 23rd October 2002, 17:37   #2
BradWaite
Junior Member
 
Join Date: Oct 2002
Posts: 10
(Boy, don't I feel stupid. Sorry for the waste of bandwidth.)

7.5 ExecWait

ExecWait command [user_var(exit code)]

Execute the specfied program and wait for the executed process to quit. See Exec for more information. If no output variable is specified ExecWait sets the error flag if the program executed returns a nonzero error code, or if there is an error. If an output variable is specified, ExecWait sets the variable with the exit code (and only sets the error flag if an error occurs; if an error occurs the contents of the user variable are undefined). Note, if the command could have spaces, you may with to put it in quotes to delimit it from parameters. i.e.: ExecWait '"$INSTDIR\command.exe" parameters'
BradWaite is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump