Solved

How to launch netscape/mozilla browser at specified URL from perl script

Posted on 2008-06-23
9
667 Views
Last Modified: 2010-04-21
Need to launch oracle web application from a perl script in a unix environment.  How do I invoke browser (e.g. netscape or mozilla) at my specific URL.  Example:  system("/usr/sfw/bin/mozilla <URL Location>&")?  
0
Comment
Question by:sdruss
  • 6
  • 2
9 Comments
 
LVL 39

Accepted Solution

by:
Adam314 earned 500 total points
ID: 21852455
Your example has it.  It worked when I tested with firefox.

system("/usr/bin/firefox http://www.google.com&");

Open in new window

0
 
LVL 1

Author Comment

by:sdruss
ID: 21862182
Great!  Also, how would I pass a username, password to this URL?  Thanks
0
 
LVL 1

Author Comment

by:sdruss
ID: 21862195
When URL is displayed there is a prompt for username/password.  How would I pass this info while invoking the browswer at this URL?
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 39

Expert Comment

by:Adam314
ID: 21865901
system("/usr/bin/firefox http://user\@pass:www.google.com&");
0
 
LVL 1

Author Comment

by:sdruss
ID: 21870743
Thanks, great solution.
0
 
LVL 1

Author Comment

by:sdruss
ID: 21894383
Great help; however still working to add user/password to URL.  Thanks
0
 
LVL 1

Author Comment

by:sdruss
ID: 21894388
Great, thanks!
0
 
LVL 1

Author Closing Comment

by:sdruss
ID: 31470035
Yes, this did work for me
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IPhone using PC internet 17 66
Secure Connection Failed - Sonicwall FW 1 86
Firebug on Firefox 50 2 138
Google map my location not working in chrome 3 12
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question