ExecWait '"$INSTDIR\\myf.exe" "$INPVAR" "$R0\\custdir\\infile.txt" "$R0\\custdir\\outfile.html" ' But the following code, using nsExec::Exec, runs but doesn't wait: ReadEnvStr $VARCOMSPEC COMSPEC
nsExec::Exec '"$VARCOMSPEC" /C "$INSTDIR\\myf.exe" "$INPVAR" "$R0\\custdir\\infile.txt" "$R0\\custdir\\outfile.html" ' At first I thought that this is by design, but I searched this forum and found found various threads which suggest that nsExec::Exec should wait.myf.exe is a win32 console application. $R0 contains a folder path.
What could possibly explain what I am experiencing? What am I missing in using nsExec::Exec correctly?
Thanks.