From: Hal Fulton Date: 2004-06-24T07:10:30+09:00 Subject: Re: PTY.spawn error-prone? John Carter wrote: > On Thu, 24 Jun 2004, Hal Fulton wrote: > >> Ben Giddings wrote: >> >>> Hal Fulton wrote: >>> >>>> I've been playing with PTY and it seems to me that this >>>> implementation is exceptionally prone to errors. > > > Let me elaborate a little, since I wrote this comments below.... Thanks, John. Didn't mean to quote you out of context. I've just figured out one of my problems: Sometimes the spawned process runs fine, it just runs to completion too fast for me to do anything. The 'read' object returned is nil apparently. I'm confused. Example: I 'cat' a one-line file. Naturally it's very fast. How should I handle this? Hal