Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^3: Calling external commands through my script

by kennethk (Abbot)
on Feb 25, 2014 at 00:53 UTC ( #1076068=note: print w/replies, xml ) Need Help??

in reply to Re^2: Calling external commands through my script
in thread Calling external commands through my script

system is a good solution if the program should be blocking, you have no need to interact with STDIN/STDOUT/STDERR, and you don't need to worry about a timeout. Be aware that any STDOUT or STDERR the program generates will just get tacked onto your perl IO channels.

I'd recommend using a list-based call to avoid escaping complications (e.g. system($executable, @args);) but again, that's generic advice.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1076068]
[erix]: choroba: pretty impressive! :)
LanX imagines which nations would be dominating if the winter olympics were invented in East Asia
[LanX]: Corion: and that's the clue how Germany can dominate Handball tournaments, just continuing the domestic league and forbidding the best players of the world to attend :)
LanX (which would be a good scheme for England and football too)
[LanX]: If "Canada will play the Czech Republic for bronze on Saturday", that means Germany will play Syria in disguise...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2018-02-23 16:40 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (303 votes). Check out past polls.