Vala-Problem with stdout and pipe

Michael 'Mickey' Lauer mickey at vanille-media.de
Wed Oct 21 16:37:04 CEST 2009


Am Mittwoch, den 21.10.2009, 16:33 +0200 schrieb Matthias Huber:
> Sorry when i am nervy, but i don't find a documentation about vala's stdout:
> 
> when i pipe my program (because i don't want to rewrite my c-code 
> completele with vala)
> into my program, or even into tail, the prog doesn't show any output with my
> 
> stdout.printf("sonemting")
> 
> is there a stdout.flush() ?
> yes there is one.
> 
> but that doesn't help me.
> 
> Any Idea ?

Try appending \n. This is not Vala-specific though, it's plain old posix
stdout.

:M:





More information about the devel mailing list