>-----Original Message----- >From: Joe Orton [mailto:joe@manyfish.co.uk] [SNIP] >2. how do you tell reliably whether stderr is closed? Actually, I was just wondering : why would somebody want to close the stderr ? I'd think the best they'd do is to dup stderr to /dev/null or something. -Madhu