2008/10/28 Julian Seward <[EMAIL PROTECTED]>:
>
>> (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 <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to