Redirect program's stdout and stderr to /dev/null
authorJeffrey Stedfast <fejj@ximian.com>
Thu, 20 Feb 2003 19:11:18 +0000 (19:11 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Thu, 20 Feb 2003 19:11:18 +0000 (19:11 +0000)
commitd2c96b52cbd9f2d29725c316fb82ebac80bf67ea
tree2ea6280150c1b8c4137e939db6c914c81fb3370c
parent8dd682493362acfecd98ee96cab094ef5b3a9a63
Redirect program's stdout and stderr to /dev/null

2003-02-20  Jeffrey Stedfast  <fejj@ximian.com>

* camel-filter-search.c (run_command): Redirect program's stdout
and stderr to /dev/null

* camel-filter-driver.c (pipe_to_system): Redirect the program's
stderr to /dev/null
(pipe_to_system): Write the pipe to a mem stream and use the mem
stream in the parser. Also, when setting an exception get the
errno from the parser so we can give more info about the error to
the user.
camel/ChangeLog
camel/camel-filter-driver.c
camel/camel-filter-search.c