Difference between revisions of "Lua:createProcess"

From Cheat Engine
Jump to navigation Jump to search
m
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
[[Category:Lua]]
 
[[Category:Lua]]
'''function''' createProcess(''Path'', ''Parameters'' OPTIONAL, ''Debug'' OPTIONAL, ''BreakOnEntry'' OPTIONAL)
+
{{CodeBox|'''function''' createProcess(''Path'', ''Parameters'' OPTIONAL, ''Debug'' OPTIONAL, ''BreakOnEntry'' OPTIONAL)}}
  
 
Creates a process.  
 
Creates a process.  
 
 
  
 
===Function Parameters===
 
===Function Parameters===
Line 27: Line 25:
 
|Boolean
 
|Boolean
 
|If true this will cause a breakpoint to hit on entrypoint
 
|If true this will cause a breakpoint to hit on entrypoint
 
 
|}
 
|}
  
 +
{{LuaSeeAlso}}
  
== See also ==
+
{{Process}}
* [[Lua]]
 
* [[Help_File:Script engine|Script engine]]
 
 
 
=== Related Functions ===
 
* [[getProcesslist]]
 
* [[getOpenedProcessID]]
 
* [[getProcessIDFromProcessName]]
 
* [[openProcess]]
 

Latest revision as of 00:46, 5 December 2025

<> Function

function createProcess(Path, Parameters OPTIONAL, Debug OPTIONAL, BreakOnEntry OPTIONAL)

Creates a process.

Function Parameters[edit]

Parameter Type Description
Path String Path to the executable
Parameters String The parameters to give . e.g: "-cheats on"
Debug Boolean Creates the process with the windows debugger attached. (VEH and Kernel do not support launch time debugging)
BreakOnEntry Boolean If true this will cause a breakpoint to hit on entrypoint

See also[edit]

Lua
Script Engine

Related Functions[edit]

createProcess
openProcess
onOpenProcess
getForegroundProcess
getOpenedProcessID
getProcessIDFromProcessName
openFileAsProcess
saveOpenedFile
setPointerSize
setAssemblerMode
getProcesslist
getWindowlist
pause
unpause
targetIs64Bit
enumModules
closeRemoteHandle