Re: [Vala] read a program stdout
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Rodrigo Herefeld <rodrigo herefeld gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] read a program stdout
- Date: Wed, 23 Nov 2011 20:24:40 +0100
(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]