Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: problems with exec command

by vinoth.ree (Prior)
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 drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2015-10-09 04:22 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (233 votes), past polls