in reply to Closing STDIO Caused Pipe Not To Work
I will preface this by saying I have never used the PIPE command. That being said I just wanted to throw out a couple of observations. Things you may want to look into. 1) You are sending STDIN and STDOUT to devnull, what affect does this have on the bi-directional filehandles that PIPE is supposed to create?(I honestly don't know, I may be way off base with that one. If so I apologize)
2. PIPE uses IO buffering, have you tried forcing a flush of the buffer after you open the PIPE but before you write to the STDERR? (again,I'm kind of spitballing here. I hope you find it helpful, if not ignore me ;p )
Re^2: Closing STDIO Caused Pipe Not To Work
by Anonymous Monk on Aug 27, 2007 at 04:43 UTC
|
I think the script died when it encountered the open PIPE statement since I do not see the external program being invoked when I did I ps -aux on my linux box. However, no error is displayed anywhere even in my error_log file. | [reply] |
|