[YLUG] borken pipe

Patrick Dupre pd520 at york.ac.uk
Wed Jun 18 13:17:48 BST 2008


Hello,

How can I detect a broken pipe ?
I have a perl application which pipe aother application, this one can
be die for different reason, so I would like to test if it is still
alive before perl try to access it.

I can get the name of the pipe: prw------- 1 pdupre users 0 2008-06-18 
13:04 /tmp/xmgrace_fifo9979_1

Can I test it ?

Regards

-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
  The University of York             |   |    Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |    email: pd520 at york.ac.uk
==========================================================================


More information about the York mailing list