title: Prevent FIFO from closing / reuse closed FIFO
body: <p>Consider the following scenario:</p>
  
  <p>a FIFO named <code>test</code> is created. In one terminal window (A) I run <code>cat &lt;test</code> and in another (B) <code>cat &gt;test</code>. It is now possible to write in window B and get the output in window A. It is also possible to terminate the process A and relaunch it and still be able to use this setup as suspected. However if you terminate the process in window B, B will (as far as I know) send an EOF through the FIFO to process A and terminate that as well.</p>
  
  <p>In fact, if you run a process that does not terminate on EOF, you'll still not be able to use your FIFO you redirected to the process. Which I think is because this FIFO is considered closed.</p>
  
  <p>Is there anyway to work around this problem?</p>
  
  <p>The reason to why I ran into this problem is because I'd like to send commands to my minecraft server running in a screen session. For example: <code>echo "command" &gt;FIFO_to_server</code>. This is problably possible to do by using screen by itself but I'm not very comfortable with screen I think a solution using only pipes would be a simpler and cleaner one.</p>