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