The assignment says I have to turn in a purify.output file, but the output goes to a window so I can't redirect it. How to I get the output to go to a file?
Answer Posted / chaitanya
You need to set a run-time option for Purify to tell it to send the output to a file. From the shell prompt enter the command
setenv PURIFYOPTIONS "-windows=no -log-file=purify.output"
Now run your Purify'ed program again. To revert to the behavior of popping up the window (which is easier to navigate in), use
unsetenv PURIFYOPTIONS
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers