LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2007, 07:05 AM   #1
iceman_san
LQ Newbie
 
Registered: Aug 2007
Posts: 21

Rep: Reputation: 15
how to open a browser window using perl


hi,

can any one tell me "how to open a browser window using perl , after opening the browser the control should be returned back to the program"


ie

i have used

system ("/usr/bin/firefox");

## some code

the some code is not executed , unless i close the browser , can any one help me to solve this ?? pls

Thanks
ice_man

_______________________________________________
FREE as in FREEDOM thats LIFE
 
Old 08-28-2007, 07:33 AM   #2
mmmmtmmmm
LQ Newbie
 
Registered: Aug 2007
Posts: 24

Rep: Reputation: 15
perldoc -f fork

Make sure you don't do waitpid() and then it will return control to the parent

Last edited by mmmmtmmmm; 08-28-2007 at 07:34 AM.
 
Old 08-28-2007, 07:35 AM   #3
iceman_san
LQ Newbie
 
Registered: Aug 2007
Posts: 21

Original Poster
Rep: Reputation: 15
can u a bit specific if u dont mind
 
Old 08-28-2007, 09:05 AM   #4
mmmmtmmmm
LQ Newbie
 
Registered: Aug 2007
Posts: 24

Rep: Reputation: 15
Read up on the Perl builtin function fork(). It will allow you to do what you are asking. Just do a search in Google for "Perl fork()" and you will find everything you need to know...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox error: Error launching browser window:no XBL binding for browser JockVSJock Slackware 6 06-12-2006 10:02 PM
problem in browser window alvi2 Linux - Networking 1 05-22-2005 02:59 AM
Javascript - what to use rather than window.close() then window.open() davee Programming 2 04-11-2005 08:28 AM
Open terminal window from web browser anoop_cn Linux - General 3 07-27-2004 03:10 AM
How can you create/open a browser window from GTK? richie-leclair Programming 2 04-26-2003 10:03 PM


All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration