Re: [Gambas-user] Watching File and Pipe

2013-01-07 Thread Tobias Boege
On Mon, 07 Jan 2013, Beno?t Minisini wrote: > Le 07/01/2013 12:27, Beno?t Minisini a ?crit : > > Le 06/01/2013 11:32, Tobias Boege a ?crit : > that the File_Read() event is called without end > >>> > >>> Logical, as a normal file is always ready to be read. > >>> > >> > >> The doc says: "If at

Re: [Gambas-user] Watching File and Pipe

2013-01-07 Thread Benoît Minisini
Le 07/01/2013 12:27, Benoît Minisini a écrit : > Le 06/01/2013 11:32, Tobias Boege a écrit : that the File_Read() event is called without end >>> >>> Logical, as a normal file is always ready to be read. >>> >> >> The doc says: "If at least one byte can be read". This statement is IMHO >> ambi

Re: [Gambas-user] Watching File and Pipe

2013-01-07 Thread Benoît Minisini
Le 06/01/2013 11:32, Tobias Boege a écrit : >>> that the File_Read() event is called without end >> >> Logical, as a normal file is always ready to be read. >> > > The doc says: "If at least one byte can be read". This statement is IMHO > ambiguous. I expected the Read() event to be raised when Lof

Re: [Gambas-user] Watching File and Pipe

2013-01-06 Thread Tobias Boege
On Sun, 06 Jan 2013, Beno?t Minisini wrote: > Le 06/01/2013 02:20, Tobias Boege a ?crit : > > Hi Benoit, > > > > here's the story: I originally wanted to redirect the Error > > instruction's default stream to a pipe which I could then read from > > in the same application. For some reason I got a "

Re: [Gambas-user] Watching File and Pipe

2013-01-05 Thread Benoît Minisini
Le 06/01/2013 02:20, Tobias Boege a écrit : > Hi Benoit, > > here's the story: I originally wanted to redirect the Error > instruction's default stream to a pipe which I could then read from > in the same application. For some reason I got a "Bad file > descriptor" (must be EBADF?) error when using

[Gambas-user] Watching File and Pipe

2013-01-05 Thread Tobias Boege
Hi Benoit, here's the story: I originally wanted to redirect the Error instruction's default stream to a pipe which I could then read from in the same application. For some reason I got a "Bad file descriptor" (must be EBADF?) error when using Error "test" after having redirected Error To #File