Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Trouble with Win32::GUI app spawning child processes

by BrowserUk (Patriarch)
on Apr 18, 2008 at 09:45 UTC ( [id://681431]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Trouble with Win32::GUI app spawning child processes
in thread Trouble with Win32::GUI app spawning child processes

Briefly

  1. system q[ start url ]; works because it uses the win32 start command.

    The nice thing abut this is that the start command will look up the current users preferred browser and start it with the url supplied. So, for you it may start IE, but the same command for me it would start Opera. For someone else it might start Firefox.

    For details type help start at a command window.

  2. start 1, ... works because under win32, Perl has a built-in extension that does an asynchronous spawn if the first parameter to system is the magic token '1'.

    I can't point you to the documentation because I found out about it right here at PM. Probably from tye.

    Possibly here, or here or here ...


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://681431]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-03-29 12:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found