On Sun, 2010-08-15 at 14:38 +0200, Wil Peters wrote: > 2) For mason components that access the shell when executing a shell > command: > "mkdir: write error: Bad file descriptor" > "rm: write error: Bad file descriptor" > etc. > > Despite the messages regarding bad file descriptors, the commands are > executed successfully. > > Can anyone help me to understand + get rid of these messages? >
It could be that these external commands are trying to output something to STDOUT (like a warning or something similar), but STDOUT and STDERR are closed in the context of their execution (I believe a security feature of Apache). You should consider using the equivalent perl functions for these: unlink and mkdir, which will not fork an external process, and for which you can better control the output. I hope this helps. -Olivier ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users