Method | Description | |
---|---|---|
CreatePipe ( CodeContext context, object pSec, int bufferSize ) : PythonTuple | ||
CreateProcess ( CodeContext context, string applicationName, string commandLineArgs, object pSec, object tSec, int bInheritHandles, uint dwCreationFlags, PythonDictionary lpEnvironment, string lpCurrentDirectory, object lpStartupInfo ) : PythonTuple | ||
DuplicateHandle ( CodeContext context, BigInteger sourceProcess, BigInteger handle, BigInteger targetProcess, int desiredAccess, bool inherit_handle, object DUPLICATE_SAME_ACCESS ) : |
||
DuplicateHandle ( CodeContext context, BigInteger sourceProcess, |
Duplicates a subprocess handle which was created for piping. This is only called when we're duplicating the handle to make it inheritable to the child process. In CPython the parent handle is always reliably garbage collected. Because we know this handle is not going to be used we close the handle being duplicated.
|
|
GetCurrentProcess ( ) : |
||
GetExitCodeProcess ( |
||
GetModuleFileName ( object ignored ) : string | ||
GetStdHandle ( int STD_OUTPUT_HANDLE ) : object | ||
GetVersion ( ) : int | ||
TerminateProcess ( |
||
WaitForSingleObject ( |
Method | Description | |
---|---|---|
CloseHandle ( |
||
CreatePipePI ( |
||
CreateProcessPI ( string lpApplicationName, string lpCommandLine, SECURITY_ATTRIBUTES &lpProcessAttributes, SECURITY_ATTRIBUTES &lpThreadAttributes, [ bInheritHandles, uint dwCreationFlags, string lpEnvironment, string lpCurrentDirectory, [ lpStartupInfo, PROCESS_INFORMATION &lpProcessInformation ) : bool | ||
DuplicateHandlePI ( |
||
EnvironmentToNative ( PythonDictionary lpEnvironment ) : string | ||
GetCurrentProcessPI ( ) : |
||
GetExitCodeProcessPI ( |
||
GetStdHandlePI ( int nStdHandle ) : |
||
GetVersionPI ( ) : int | ||
TerminateProcessPI ( |
||
WaitForSingleObjectPI ( |
public static CreatePipe ( CodeContext context, object pSec, int bufferSize ) : PythonTuple | ||
context | CodeContext | |
pSec | object | |
bufferSize | int | |
return | PythonTuple |
public static CreateProcess ( CodeContext context, string applicationName, string commandLineArgs, object pSec, object tSec, int bInheritHandles, uint dwCreationFlags, PythonDictionary lpEnvironment, string lpCurrentDirectory, object lpStartupInfo ) : PythonTuple | ||
context | CodeContext | |
applicationName | string | |
commandLineArgs | string | |
pSec | object | |
tSec | object | |
bInheritHandles | int | |
dwCreationFlags | uint | |
lpEnvironment | PythonDictionary | |
lpCurrentDirectory | string | |
lpStartupInfo | object | |
return | PythonTuple |
public static DuplicateHandle ( CodeContext context, BigInteger sourceProcess, BigInteger handle, BigInteger targetProcess, int desiredAccess, bool inherit_handle, object DUPLICATE_SAME_ACCESS ) : |
||
context | CodeContext | |
sourceProcess | BigInteger | |
handle | BigInteger | |
targetProcess | BigInteger | |
desiredAccess | int | |
inherit_handle | bool | |
DUPLICATE_SAME_ACCESS | object | |
return |
public static DuplicateHandle ( CodeContext context, BigInteger sourceProcess, |
||
context | CodeContext | |
sourceProcess | BigInteger | |
handle | ||
targetProcess | BigInteger | |
desiredAccess | int | |
inherit_handle | bool | |
DUPLICATE_SAME_ACCESS | object | |
return |
public static GetCurrentProcess ( ) : |
||
return |
public static GetExitCodeProcess ( |
||
hProcess | ||
return | int |
public static GetModuleFileName ( object ignored ) : string | ||
ignored | object | |
return | string |
public static GetStdHandle ( int STD_OUTPUT_HANDLE ) : object | ||
STD_OUTPUT_HANDLE | int | |
return | object |
public static TerminateProcess ( |
||
handle | ||
uExitCode | object | |
return | bool |
public static WaitForSingleObject ( |
||
handle | ||
dwMilliseconds | int | |
return | int |