Re: g_spawning three processes: one after another only when...
- From: Olivier Sessink <lists olivier pk wau nl>
- To: Colossus <colossus 3000 it>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: g_spawning three processes: one after another only when...
- Date: Sun, 09 Oct 2005 13:26:07 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]