Colossus wrote:
> The red bytes do not correspond to the written ones:
> Bytes letti: 65536 Bytes scritti: 65536
> Bytes letti: 65536 Bytes scritti: 2015
> Bytes letti: 65536 Bytes scritti: 0
> Bytes letti: 65536 Bytes scritti: 0
> Bytes letti: 65536 Bytes scritti: 0
> Byt
Colossus wrote:
Sometimes the console gives no output but the output of the command cpio
(redirected in a GtkTextBuffer) is:
cpio: warning: skipped 7099 bytes of junk
cpio: warning: skipped 13776 bytes of junk
cpio: warning: skipped 22769 bytes of junk
cpio: warning: skipped 104333 bytes of ju
Olivier Sessink wrote:
what does that function do? I guess it calls g_spawn_async_with_pipes(),
right?
Yes.
gulong SpawnAsyncProcess (const gchar *command , gboolean
ExitStatusFlag , gboolean input_pipe)
{
GError *error = NULL;
gchar **argv;
int argcp;
g_she
Colossus wrote:
> Hi,
>
> I'm trying without success to implement cat /tmp/file.cpio | cpio -tv
> with g_spawn family and giochannels. My code is to use
> "g_spawn_async_with_pipes" with both input and output pipes the "cpio
> -tv" command and then I open in read mode the binary cpio archive (I
>
Hi,
I'm trying without success to implement cat /tmp/file.cpio | cpio -tv
with g_spawn family and giochannels. My code is to use
"g_spawn_async_with_pipes" with both input and output pipes the "cpio
-tv" command and then I open in read mode the binary cpio archive (I
don't spawn cat just use