Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: system() or exec() in CGI scripts

by bm (Hermit)
on Sep 09, 2003 at 11:09 UTC ( #289982=note: print w/ replies, xml ) Need Help??


in reply to system() or exec() in CGI scripts

I want to remotely open a Internet Explorer window.

Are you saying that you would like a new browser window to open on the user's computer that is running your CGI script? If so, you are chasing a red herring. Executing iexplorer.exe will start a new browser window on the server. You probably want it to start on the client.
--
bm


Comment on Re: system() or exec() in CGI scripts
Re: Re: system() or exec() in CGI scripts
by LupoX (Pilgrim) on Sep 09, 2003 at 11:18 UTC

    No no I want to start the browser on the server where the CGI is running. The client should only invoke this process.

      It is probably not in your path. Try (assuming a default installation location):

      system('C:\Program Files\Internet Explorer\IEXPLORE.EXE');

      See Abigail-II's response above if you want your script to exit straight after IE is launched.
      --
      bm

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://289982]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2014-09-17 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (70 votes), past polls