I want to know if there's a more efficient way to easily open a webpage in the user's default browser, but without there being a command prompt window.
Basically, this is the way I'm using to open a webpage:
That will open the user's default browser (be it IE, Firefox, or something else) and link to that URL.
But, when the Perl script is run in an environment that doesn't have a console, this command seems to open a console window for a few seconds or minutes until the command is completed (i.e. when the browser opens and finishes loading the target page, then the console goes away).
If I use `` instead of system(), would that fix it? I'm thinking the "start" command itself seems to open a command prompt window (or use the current one if one exists).
Any help would be appreciated.
Thanks in advance.
-------------
Cuvou.com | The NEW Kirsle.net
Basically, this is the way I'm using to open a webpage:
Code:
system ("start [URL unfurl="true"]http://www.website.com/");[/URL]
That will open the user's default browser (be it IE, Firefox, or something else) and link to that URL.
But, when the Perl script is run in an environment that doesn't have a console, this command seems to open a console window for a few seconds or minutes until the command is completed (i.e. when the browser opens and finishes loading the target page, then the console goes away).
If I use `` instead of system(), would that fix it? I'm thinking the "start" command itself seems to open a command prompt window (or use the current one if one exists).
Any help would be appreciated.

-------------
Cuvou.com | The NEW Kirsle.net