On 15 Oct 2007 at 20:25, Felix Mater wrote: > On 15 Okt., 12:50, [EMAIL PROTECTED] (Matthew Whipple) wrote: > > > > > I've seen a programm written in Java that, on demand, opens > > > an url in a firefox window, or, if that already exists, opens the > > > url in a new tab. > > > See the "new-tab" command line option [of firefox] > > Great! > system("firefox -new-tab", $url) should solve the problem. > No API programming needed.
I think you mean system("firefox", "-new-tab", $url) you either have to put everything into the single parameter or separate everything into its own parameters, you can't combine the two. Your code would try to find and execute an executable named "firefox -new-tab" and pass it the $url. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/