Re: [Valgrind-users] valgrind with shell scripts

2014-01-14 Thread Patrick J. LoPresti
On Tue, Jan 14, 2014 at 7:18 AM, Samuel Quiring 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 (

Re: [Valgrind-users] valgrind with shell scripts

2014-01-14 Thread Fred Smith
Kegel [mailto:[email protected]] Sent: Tuesday, January 14, 2014 10:36 AM To: Samuel Quiring Cc: [email protected] Subject: Re: [Valgrind-users] valgrind with shell scripts On Tue, Jan 14, 2014 at 7:18 AM, Samuel Quiring wrote: > valgrind ./run.sh -e >& run lo

Re: [Valgrind-users] valgrind with shell scripts

2014-01-14 Thread David Faure
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 –

Re: [Valgrind-users] valgrind with shell scripts

2014-01-14 Thread Dan Kegel
On Tue, Jan 14, 2014 at 7:18 AM, Samuel Quiring wrote: > valgrind ./run.sh –e >& run log > > Will valgrind evaluate the shell script or my app or both? Just the shell script. Try --trace-children=yes . -- CenturyLi

[Valgrind-users] valgrind with shell scripts

2014-01-14 Thread Samuel Quiring
Greetings, Normally I invoke my app using a shell script: ./run.sh –e >& run log If I invoke this script using valgrind: valgrind ./run.sh –e >& run log Will valgrind evaluate the shell script or my app or both? -Sam ---