WIN32: Spawning a command-line process
- From: "Tomas Soltys" <tomas soltys range-software com>
- To: gtk-app-devel-list gnome org
- Subject: WIN32: Spawning a command-line process
- Date: Tue, 27 Jan 2009 09:31:35 +0100 (CET)
Hi,
I am writing a GUI application which executes a command-line executable
and reads its output from stdout.
For this I am using function g_spawn_async_with_pipes.
If command-line program is linked with -mswindows then everything works
fine, but I can not execute "prog" in command line. Stdout is lost.
So -mswindows is not an option.
Does anybody have an idea how to solve this problem?
Thanks.
Tomas Soltys
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]