Running a Program from the Command Line (Error Detection)

Related Topics

To instrument and run programs from the command line, type:

purify [<options>] <exename or modulename> [<optional arguments to exename>]

 

Where:

Represents:

[<options>]

Options you can specify after the purify command. For a list of options, click images\shortcut.gif

<exename or modulename>

The program or module you want to instrument and run.

Note: If you specify a module other than an executable (for example, .dll, .ocx), Purify instruments the module but does not run it.

[<optional arguments to exename>]

Arguments you want to pass to the program.

For example, to have Purify instrument and run the Stockvc6.exe program and save the data to a Purify error data file (.pfy) without displaying any Purify windows, type:

purify /SaveData stockvc6.exe

To collect coverage data for a run, type:

purify /Coverage stockvc6.exe

Note:

§      To run programs from the command line, ensure that the Purify program and cache directories appear in your Path environment variable.

(C) Copyright IBM Corporation 1992, 2010.