in reply to Re^2: Perl die after executing external program
in thread Perl die after executing external program
Yes, it really is that simple. Differences in account permissions are always a relatively good guess about differences in how programs operate, but a good guess is still a guess. Which file descriptor lftp uses for output doesn't change depending on which account is running the program. Which one you need to capture does change depending on which one is being written to in the executed program.
2>&1 is your friend.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl die after executing external program
by aullah (Initiate) on Apr 29, 2011 at 13:09 UTC | |
by mr_mischief (Monsignor) on Apr 29, 2011 at 13:18 UTC | |
by aullah (Initiate) on Apr 29, 2011 at 13:46 UTC | |
by mr_mischief (Monsignor) on Apr 29, 2011 at 17:26 UTC |