Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kProcess_Construct ( kProcess process,
const kChar path,
kAlloc  allocator 
)

Constructs a kProcess object.

Allows the creation and start of a child process. The search path will not be used when looking for the executable. This class is not thread safe. The child process gets terminated when the calling process ends.

Windows specific: The path string can specify the full path and file name of the module to execute or it can specify a partial name. In the case of a partial name, the function uses the current drive and current directory to complete the specification.

Parameters
processDestination for the constructed object handle.
pathPath of the new process.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.