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.
|