using pipes with g_spawn_command_line_sync



Hello.

I am unable to run a command with g_spawn_command_line_sync() that uses
pipes. For example "echo \"bla\" | wc -l" gives the exact output as the
command insted "1". Other commands without the pipe execute with no
problem. What's the problem?

Greets,
Luka




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]