in reply to Re: Why can't I give system the same command I've been giving to exec?
in thread [Have solution now but am still puzzled] Why can't I give system the same command I've been giving to exec?
Are you sure that perl is doing the variable expansion ?
Yes, I print my command before passing it to exec, and get confirmation both from the printout and from the log file that's generated when the command runs under exec.
Thanks for the Roth link.
Thanks especially for the thought about the controlling terminal. I don't exactly know how to act on that thought, but this sounds like the kind of thing that might vary between exec and system.
|
|---|