EnableExplicit Define CompilerEXE$ = "notepad.exe" Define ProcessInfo.PROCESS_INFORMATION Define info.STARTUPINFO If CreateProcess_(#Null, @CompilerEXE$, #Null, #Null, #True, #Null, #Null, #Null, @info, @ProcessInfo) Debug "PID: " + Str(ProcessInfo\dwProcessId) EndIf