Colossus wrote: > Hi, > > I need to launch these three processes: > 1) bzip2 -dc archive.tar.bz2 > /tmp/foo.tar > 2) tar --delete -vf /tmp/foo.tar file_to_del > 3) bzip2 -c /tmp/foo.tar > archive.tar,bz2 > > only when each of them exits. Shall I use g_spawn_sync ? > How to code the run of all of them ? > The GUI must not freeze while these three processes are > operating on the file. > > Any clue please ?
you could also spawn '/bin/sh cat archive.tar.bz2 |bzip2 -d | tar --delete -v file_to_del | bzip2 > archive.tar,bz2' regards, Olivier _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list