[Gambas-user] [Gambas Bug Tracker] Bug #969: Suddenly getting error "Stream is closed" on Eof() and Lof() after closing Process stream

bugtracker at ...3416... bugtracker at ...3416...
Wed Aug 10 20:11:22 CEST 2016


http://gambaswiki.org/bugtracker/edit?object=BUG.969&from=L21haW4-

Comment #2 by Benoît MINISINI:

It's the old process stream special behaviour that was not logic. Closing a stream should make the stream unusable, whatever the stream is.

Now to act the way you want, you need a special method in the Process class to "send a CTRL+D" (i.e. closing the output stream).






More information about the User mailing list