WIN32: Spawning a command-line process



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]