Welcome to the Monastery | |
PerlMonks |
Re: Response from system or Execby Abigail-II (Bishop) |
on Nov 03, 2003 at 09:59 UTC ( [id://304066]=note: print w/replies, xml ) | Need Help?? |
Actually, exec might return, if 1) perl doesn't
need to call the shell to execute the command (that is, exec
is either given more than one argument, or a string which
has no characters (except whitespace) that are special to the
shell), and hence will call execvp directly, and
2) the command can't be called (usually because the file
doesn't exists, or due to permission problems).
See perldoc -f exec. Abigail
In Section
Seekers of Perl Wisdom
|
|