in reply to Re^5: Execute command with spaces in perl
in thread Execute command with spaces in perl

Ahahhaa! My error was in just trying it from the command line instead of piping the output of firefox.exe to make it output something:

Without the pipe, it outputs nothing:

>"c:\Program Files (x86)\Mozilla Firefox\firefox.exe" --version

With the pipe, it outputs the version information, as it should:

>"c:\Program Files (x86)\Mozilla Firefox\firefox.exe" --version | more Mozilla Firefox 61.0.2