Re: Spawn command
- From: Juan Pablo Ugarte <juanpablougarte gmail com>
- To: Enrique Wong <ewong9 gmail com>
- Cc: glade-users-list gnome org
- Subject: Re: Spawn command
- Date: Thu, 6 May 2021 13:37:02 -0300
Hi this is not related to glade.
But what you have to do is read from the child process stdout with a giochannel for example and
Set the text to your widget
Don’t use sync version as it will stop your UI execution until the child exits
El 6 may. 2021, a la(s) 11:31, Enrique Wong <ewong9 gmail com> escribió:
Hi,
After using the function g_spawn_command_line_async, the output goes to the terminal.
How can i make it goes to the widget display?
I use g_spawn_command_line_sync, but the command line does not get executed.
Thanks
--
glade-users-list mailing list
glade-users-list gnome org
https://mail.gnome.org/mailman/listinfo/glade-users-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]