in reply to "close" failing
You probably do want to check the success of the close when you are doing a piped open like that. The likelihood is that the $ENV{PATH} is different for the web server process: you should either specify the full path to the program you are running or ensure that the location of the program is in $ENV{PATH} before opening the pipe. The reason you aren't seeing any error message is because the output of die is going to STDERR and mostly this goes into the error log rather than to the browser.
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: "close" failing
by jdhedden (Deacon) on May 31, 2006 at 12:37 UTC | |
by duff (Parson) on May 31, 2006 at 14:55 UTC | |
by jdhedden (Deacon) on May 31, 2006 at 15:26 UTC | |
by vek (Prior) on May 31, 2006 at 17:21 UTC | |
by munishdev (Initiate) on May 31, 2006 at 14:06 UTC |