Colossus wrote:
> --------- Messaggio originale -------- Da: Olivier Sessink
> <[EMAIL PROTECTED]>
> 
>> 1) spawn 'cpio -tv' with a pipe in and a pipe out 2) create
>> non-blocking g_io_channels from these pipes 3) register callbacks
>> with g_io_add_watch() for the io channels, one of these functions
>> should write, the other one read
> 
> 
> Thank you, but about the cat command ? cpio -tv alone doesn't work
> because it needs the input from a piped command.

if you have the data in memory:
use g_spawn to pipe the data to cpio

regards,
        Olivier
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to