Re: redirecting output to a file with g_spawn_async
- From: Olivier Sessink <lists olivier pk wau nl>
- To: Colossus <colossus 3000 it>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: redirecting output to a file with g_spawn_async
- Date: Sat, 01 Oct 2005 17:55:57 +0200
Colossus wrote:
Hi,
I tried with g_spawn_async_with_pipes and with gspawn_async
but it does not work. In the first case the output (the decompressed
bzip2 file) is redirected to a GTK window so I used g_spawn_async (no
pipes) but the output is directed to the shell window from which I ran
my program. How can I have the output redirected to the file /mnt/foo ?
open a file in write mode, and while reading from the pipe from
_spawn_async, write data to that file.
regards,
Olivier
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]