[Tutor] Interprocess communication

George Nyoro geonyoro at gmail.com
Tue Dec 6 18:17:38 CET 2011


Hey guys,
      Really want to thank all of you for helping and bearing with
some of us and the questions we ask around here. I was making a gtk
app sometime ago to copy files from a cd or dvd to my hard disk since
the normal ubuntu copy thing would stop when it encountered some
error, so I needed one that read through errors or none.
   I did in two modules: one having gtk code and the other having the
copy code, then id import the copy code into gtk. The thing is that
when the gtk called the copy module to do so, the process would take
long and so the application would become none responsive. Also, there
was a progress bar that was supposed to get data after the copy module
copied some block so that it displayed amouint copied so far but it
wouldnt display progress, even when it was supposed to do so from the
return value of a function.
     Can anyone show me how to run the gtk and copy code as separate
processes since this seems to be the only way that the application
graphics wont hang?         Thanks in advance.


More information about the Tutor mailing list