Re: [Vala] Knowing when a terminal command is done



Look into g_child_watch_add:

https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html#g-child-watch-add

2013/4/15 Christian Capasso <capasso912 gmail com>:
Hi,

I'm working with some terminal commands, that I call using
"Process.spawn_command_line_async": how can I know when these commands are
completed?

For example, one of the operation consists of downloading a file from the
web: are there any possibilities to get its progress or, at least, get a
notification of when the download has been completed?

Thank you very much!
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list


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