hi
i'm trying to set up a named pipe, stuff in some commands and - from another programm - execute the commands in the pipe. i thought, that after execution of the pipe, the pipe itself would die (disappear) - but mine doesn't:
<< program 1 >>
mkfifo MYPIPE
'ps -ef' > MYPIPE &
...some time later
<< program 2>>
cat MYPIPE
-> this returns me the output of ps -ef but MYPIPE remains in the directory.
what am i doing wrong?
thx!
woche
p.s.: all of this is on aix 4.3
i'm trying to set up a named pipe, stuff in some commands and - from another programm - execute the commands in the pipe. i thought, that after execution of the pipe, the pipe itself would die (disappear) - but mine doesn't:
<< program 1 >>
mkfifo MYPIPE
'ps -ef' > MYPIPE &
...some time later
<< program 2>>
cat MYPIPE
-> this returns me the output of ps -ef but MYPIPE remains in the directory.
what am i doing wrong?
thx!
woche
p.s.: all of this is on aix 4.3