Creates a new process and its primary thread.
procHandle, threadHandle, procId, threadId = CreateHandle(ApplicationName,\ CommandLine,\ ProcessSecurityAttributes,\ ThreadSecurityAttributes,\ bInheritHandles,\ CreationFlags,\ Environment,\ CurrentDirectory,\ StartupInfo)
The name of the executable that creates the process. This can either be a full path to the executable or just the filename portion. If no path is specified, Windows searches the system path for the process. This parameter may be
None, in which case the executable must be specified in the
The command line that executes the program. If the
None, this must also include the name of the executable. If
ApplicationNameis specified, this contains additional arguments for the executable.
The security attributes for the new process or
Noneif the current attributes are to be inherited. Security attributes can be created using the
The security attributes for the main thread in the new process or
Noneif the current attributes are to be inherited.
A boolean flag indicating if the new process should inherit Windows handles from the creating process. If
true(that is, 1), each open handle in the creating process is valid for the new process.
A set of flags that allow special options to be set for the created ...