On Tue, Jan 14, 2014 at 7:18 AM, Samuel Quiring
<samuel_quir...@symantec.com> wrote:
>
> Will valgrind evaluate the shell script or my app or both?

The script, and as others have said, "--trace-children=yes" will do
what you want. However...

...you can also change your script to "exec" your app. That is better
style anyway (fewer processes, allows parent process to retrieve
proper exit status, etc.), if your script does not have any work to do
after your app terminates.

 - Pat

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to