Method CreateProcess
CreateProcess(string, string, IntPtr, IntPtr, bool, CreateProcessFlags, IntPtr, string, STARTUPINFO, PROCESS_INFORMATION)
public static extern bool CreateProcess(string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, bool bInheritHandles, NativeMethods.CreateProcessFlags dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, STARTUPINFO lpStartupInfo, PROCESS_INFORMATION lpProcessInformation)
Parameters
lpApplicationNamestringlpCommandLinestringlpProcessAttributesIntPtrlpThreadAttributesIntPtrbInheritHandlesbooldwCreationFlagsNativeMethods.CreateProcessFlagslpEnvironmentIntPtrlpCurrentDirectorystringlpStartupInfoSTARTUPINFOlpProcessInformationPROCESS_INFORMATION