Archive: ExecWait bug found


ExecWait bug found
  Hello,

I wanted to make a 'launcher' for a application. A simple one, something like this :


Name "LAUNCHER"


>OutFile "launcher.exe"

>Section bla
...
ExecWait "program name.exe"
...
>SectionEnd
>
The exe file that I need to open with ExecWait has spaces in the name.
Like "program name.exe"
In the same folder exists a file "program.exe"

The "program.exe" is launched, not "program name.exe" !

Try it.

Thanks,
OJi.

ExecWait `"program name.exe"`

Stu


Originally posted by Afrow UK
ExecWait `"program name.exe"`
Yes, that way it works. But I quoted the text, it should work.
Guess this is not a bug after all...

If you typed program name.exe in command prompt without quotes then program.exe would be ran with name.exe as its parameter. Yes you used quotes, but only to prevent it becoming two parameters for ExecWait.

Stu


you are right.

my mistake. :down: