Skip to content

FpExecLPE

Execute a program in the path, and pass it an environment.

Declaration

Source position: unix.pp line 126

function FpExecLPE(const PathName: RawByteString; 
                  const S: Array of RawByteString = type string(CP_NONE); 
                  env: PPAnsiChar) : cint;

Description

FpExecLPE does the same as FpExecLP, but additionally it specifies the environment for the new process in env, a pointer to a null-terminated array of null-terminated strings.

Errors

On success, this function does not return.

See also

Name Description
FpExecLP Execute process (using argument list, environment; search path).
FpExecLE Execute process (using argument list, environment).