Phinix has asked for the wisdom of the Perl Monks concerning the following question:
As the title suggests, I am looking to launch an external file (in this case an HTML file) using the OS default browser, without the perl app launching it waiting and without creating the annoying console window.
I had attempted this: system(1, "$filepath\\file.html") which launches the file without the perl app waiting, however it also creates an annoying DOS/console window until the browser is closed.
Does anyone know how to prevent this window from showing when launching from a compiled .EXE perl script? Some have suggested using Win32::Process however I cannot seem to figure out the syntax for that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Launch file without console window
by BrowserUk (Patriarch) on Dec 24, 2012 at 01:14 UTC | |
by Phinix (Acolyte) on Dec 24, 2012 at 01:19 UTC | |
by BrowserUk (Patriarch) on Dec 24, 2012 at 02:39 UTC | |
by Anonymous Monk on Dec 24, 2012 at 01:56 UTC | |
|
Re: Launch file without console window
by Anonymous Monk on Dec 23, 2012 at 23:49 UTC | |
by Anonymous Monk on Dec 24, 2012 at 00:39 UTC | |
|
Re: Launch file without console window
by Phinix (Acolyte) on Dec 24, 2012 at 00:40 UTC | |
by Anonymous Monk on Dec 24, 2012 at 00:40 UTC | |
by Phinix (Acolyte) on Dec 24, 2012 at 00:52 UTC |