Close a program at pipe input without terminating the program doing output?



Hi,

I have two programs linked by a pipe: "sauerbraten | ./color.pl"
How can I exit() ./color.pl without terminating sauerbraten?
Can I do it without modifying the programs?
If not, I will add that the first program is written in C and the second
in perl.
.



Relevant Pages

  • Why does glob() work in while loop?
    ... I was recently explaining to a friend new to Perl about while loop ... getNextNum() function is called, which just returns an integer (the ... first time it is called, it returns 1; every other time, it returns a ... why does the first program ...
    (comp.lang.perl.misc)
  • From Red Hat Linux, Perl system Creates Program That Dies When First C Program Dies
    ... Perl people tell me my question is an operating system question, ... The Perl script starts another c++ program. ... but when the first program is stopped the second ...
    (comp.os.linux.misc)
  • Re: How put program on top than other
    ... Set WS_EX_TOPMOST style for main window of your application ... "PocketPC" wrote in message ... > the user can't exit out. ... > the first program and I can't enter it. ...
    (microsoft.public.windowsce.embedded)
  • How put program on top than other
    ... I have a program with differents forms maximizeds with "shfullscreen" for ... the user can't exit out. ... >From the program I execute an other program what I need but it appears under ... the first program and I can't enter it. ...
    (microsoft.public.windowsce.embedded.vb)
  • How put program on top than other
    ... I have a program with differents forms maximizeds with "shfullscreen" for ... the user can't exit out. ... >From the program I execute an other program what I need but it appears under ... the first program and I can't enter it. ...
    (microsoft.public.windowsce.embedded)