On Tuesday 14 January 2014 07:18:05 Samuel Quiring wrote:
> Greetings,
> 
> Normally I invoke my app using a shell script:
> 
>      ./run.sh  –e >& run log

[I don't understand the "run log" part of it, but let's ignore that]

> If I invoke this script using valgrind:
> 
>      valgrind ./run.sh –e >& run log
> 
> Will valgrind evaluate the shell script or my app or both?

The shell script. Better modify the shell script itself to call valgrind :)

But you can also use the above command with --trace-children=yes
and then it will trace all children, including your app.

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5


------------------------------------------------------------------------------
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