Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: Opening URL in instrumented browser

by dasgar (Curate)
on Sep 17, 2013 at 17:11 UTC ( #1054492=note: print w/replies, xml ) Need Help??

in reply to Re^2: Opening URL in instrumented browser
in thread Opening URL in instrumented browser

From the documentation on system:

Does exactly the same thing as exec LIST , except that a fork is done first and the parent process waits for the child process to exit.

Another alternative would be to use backticks instead of system. I personally consider this as a "quick" and "dirty" method even though I do use it a lot. There are some potential problems with using this method. Off hand I don't remember what all of the issues are, but I believe that there are better ways to launch another program and return control back to the Perl script without waiting for the launched program to return control.

  • Comment on Re^3: Opening URL in instrumented browser

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054492]
[1nickt]: marioroy Yes, I am using it with MCE, as is Discipulus I believe. I was trying to work out how to make a cpanfile that would be smart enough to know which deps to require.
[1nickt]: See this code. (I expected to simply eval loading threads as a check, but weirdness happened with Perlbrew so it's a grep of -V ...)
[choroba]: Config might be better than grepping -V
[Corion]: Also see Config::V, which is less of that hackery, or that hackery hidden in a module ;)
[1nickt]: The problem was with Perlbrew
[Corion]: Whoops - Config::Perl::V

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2017-10-18 15:33 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (249 votes). Check out past polls.