|
From: Peter T. <pt...@li...> - 2008-10-28 08:26:48
|
2008/10/28 Julian Seward <js...@ac...>: > >> (valgrind ./test_prg AA > valgrind_stdout_AA) >& valgrind_stderr_AA > > Can't you do something like this > > (valgrind ./test_prg AB > valgrind_stdout_AB) >& valgrind_stderr_AB ; \ > echo $? >> valgrind_stderr_AB It does not seem to fly. I think the exit code you catch is that from valgrind, not the process. I don't fully understand whether the valgrind option "--error-exitcode=<code>" could be used. Best -- Peter Toft <pt...@li...> |