GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

displaying output of a spawned process before completion

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
thearunkumar
Familiar Face


Joined: 09 Dec 2007
Posts: 6

PostPosted: Fri Feb 15, 2008 2:16 pm    Post subject: displaying output of a spawned process before completion Reply with quote

I wanted to run a bash script from my gtk application. I used g_spawn_command_line_sync(). The standard output was written to a gchar** . I was able to display the contents of standard output after the child process returned. The child process takes a long time to complete execution. So I want to display the contents it writes to standard output when it's being run..Can I display the standard output of the child process when it's being run??
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP