Re: [Vala] read a program stdout



(please keep the list in CC)

                في ر، 23-11-2011 عند 16:18 -0200 ، كتب Rodrigo Herefeld:
spawn_command_line_sync seems to be good, but i can't understand the
funcition  parameters 
what does "out string standard_output = null" means?
should i create a iochanel and put here?

No, you just need to define a string variable, and pass it to the
function with the out modifier. (and the "= null" part means that you
can leave it out)

By the way, i cant find a definition for the keyword out in anyplace i
search....

http://live.gnome.org/Vala/Tutorial#Parameter_Directions

HTH,
Abderrahim




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