View Single Post
  #5   (View Single Post)  
Old 6th December 2011
jsmith6134 jsmith6134 is offline
Port Guard
 
Join Date: May 2009
Posts: 10
Default

If the sic is reading from stdin that you cat'ed with initial commands sic should see an EOF (end of file). When it sees that I would expect it to exit. I would not expect it to switch from reading the cat'ed or piped input to the keyboard.

> I'm trying to handle reconnects by running it in a while loop in
> the shell process and cat the initial commands into sic's stdin.
Reply With Quote