|
From: Patrick J. L. <lop...@gm...> - 2014-01-14 16:17:18
|
On Tue, Jan 14, 2014 at 7:18 AM, Samuel Quiring <Sam...@sy...> 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 |