in reply to Using perl to call a shell command?
If you decide to use system rather than backticks, you might want to set $| = 1 to avoid buffering problems.
Also bear in mind that any shell command you run will be running under the web server's user ID and it's environment will be different to when you run the same command from a shell prompt.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using perl to call a shell command?
by MarkM (Curate) on Mar 08, 2003 at 04:44 UTC | |
by Eccentric (Initiate) on Mar 10, 2003 at 16:19 UTC | |
by data64 (Chaplain) on Mar 10, 2003 at 16:37 UTC | |
by MarkM (Curate) on Mar 11, 2003 at 19:21 UTC | |
by grantm (Parson) on Mar 08, 2003 at 07:43 UTC | |
by MarkM (Curate) on Mar 08, 2003 at 08:15 UTC |