Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Open doc in Firefox from Tk with no Tk hanging

by renodino (Curate)
on Dec 07, 2007 at 20:30 UTC ( #655741=note: print w/replies, xml ) Need Help??


in reply to Open doc in Firefox from Tk with no Tk hanging

Be advised forking from Perl on Win32 is only an emulation, implemented via threads.

That said, you might consider Win32::WebBrowser *if* you actually want to open the user's default browser, whether its IE, FF, Opera, or even Safari. Or you can use its code to figure out how to force FF, its pretty simple, but you need to know the FF executable name/location.

FWIW: Win32::WebBrowser's code is based on something I wrote for a Tk app, so hopefully it will solve your "hang" issue.


Perl Contrarian & SQL fanboy
  • Comment on Re: Open doc in Firefox from Tk with no Tk hanging

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://655741]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2016-12-08 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (133 votes). Check out past polls.