Which platform are you on? On Linux/Unix you could use strace/truss/tusc... On Windows, there's Process Monitor (from Sysinternals).
| [reply] [d/l] |
See StraceNT.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |
I am on Linux and trying to create a script which calls an external program which in turn calls compilers and linkers to build C/C++ applications. I would like to capture all the file opens from the the external program to find out exactly which files were opened with complete path to them.
| [reply] |
$ strace -f -eopen ./yourscript.pl
or
$ strace -f -efile ./yourscript.pl
| [reply] [d/l] [select] |
Be aware that, in addition to strace/truss, there is another Unix tool might prove useful when tracking open files, namely lsof.
| [reply] |