On 20 Feb 2008, at 20:53, David Meisner wrote:
> print "Starting DTrace\n";
> exec("dtrace -s pageTrace.d > traceOut.txt");
> print "DTrace finished\n";
It probably has nothing to do with your problem - but exec never
returns so the second message will never appear. If you want to do
something after dtrace use system() and then later exit() instead. You
must make sure that the forked process doesn't fall off the end of its
conditional and execute a second copy of the main program. You can
easily forkbomb yourself like that.
--
Andy Armstrong, Hexten
_______________________________________________
dtrace-discuss mailing list
[email protected]