[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3258: Gambas task bugs, Was having output disapear sometimes when stdout/stderr was a pipe or file


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

Comment #1 by Benoît MINISINI:

Thanks Claude. :-)

> For the upstream report: a Task with no Read handler that prints loses its output whenever the program's stdout is a pipe or a file. On a terminal stdout is line-buffered, so nothing is lost.

I'm not sure that the situation is different between a terminal, a pipe or a file, as the 'stdout' and 'stderr' of the task child process are already forced to be line buffered.

Benoît MINISINI changed the state of the bug to: Accepted.



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----