Archive: Exec in b3


Exec in b3
I just upgraded to b3 from a0 and the Exec function does not work anymore : the working directory does not seem to be updated before the executable is launched.
What is wrong ?


As of 2.0b1 SetOutPath sets the working directory and the current directory no longer stays $EXEDIR if you use SetOutPath. I hope this is what you meant, I couldn't understand what you were saying on the change of the working directory because prior to 2.0b1 the working directory never changed.


Thanks for your reply.
Yes, you must put SetOutPath before Exec and it is ok.

SetOutPath $INSTDIR
Exec $INSTDIR\your.exe