Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: problems with exec command

by vinoth.ree (Monsignor)
on Feb 14, 2014 at 10:19 UTC ( #1074946=note: print w/ replies, xml ) Need Help??

in reply to problems with exec command


Hello Striker,

I can see that you are executing the script using exec. exec executes a command and never returns.

If the script is not found exec returns false. It never returns true, because if the script is found it never returns at all.

If you use the system, it executes the script and your Perl script is continued after the command has finished.

All is well

Comment on Re: problems with exec command
Select or Download Code
Replies are listed 'Best First'.
Re^2: problems with exec command
by Striker (Novice) on Feb 14, 2014 at 11:38 UTC

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2016-02-10 13:16 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (346 votes), past polls