next up previous contents index
Next: FExpand Up: Functions and Procedures Previous: EnvStr

Exec

   

Declaration:

Procedure Exec (const Path: pathstr; const ComLine: comstr) ;

Description:

Exec executes the program in Path, with the options given by ComLine. After the program has terminated, the procedure returns. The Exit value of the program can be consulted with the DosExitCode function.

Errors:

Errors are reported in DosError.

See also:

DosExitCode

For an example, see DosExitCode



root
Fri Sep 11 18:24:36 CEST 1998