Re: script input redirection / eof handling

Karel Zak
2013-12-02T22:36:11Z

On Mon, Dec 02, 2013 at 01:06:05PM -0500, Phillip Susi wrote:
> That only works if the program on the other end knows what "exit"

yep, fingers have been faster than brain.. (I forgot we have
--command).

> means, which is basically only true if it's a shell. Surely there
> must be a proper way to signal EOF over a pty? Can you use shutdown()
> on a pty?

I'm going to play with that tomorrow.