os/native/ProcessWin32
-
ZeroMemory(Pointer, SizeT)
-
CreateProcess(...) → Bool
-
WaitForSingleObject(...)
-
GetExitCodeProcess(...) → Int
-
CloseHandle(Handle)
-
cover StartupInfo
-
-
cover ProcessInformation
-
-
class ProcessWin32
-
-
static method new~win32(args: ArrayList<T>) → ProcessWin32
-
method init~win32(args: ArrayList<T>)
-
method wait → Int
- Wait for the process to end. Bad things will happen if you haven’t called executeNoWait before.
-
method executeNoWait
- Execute the process without waiting for it to end. You have to call wait manually.
-
si → StartupInfo
-
pi → ProcessInformation
-
cmdLine → String
-
INFINITE → Long
-
WAIT_OBJECT_0 → Long