JVCL Help:TJvCreateProcess.Run
JVCL Help: TJvCreateProcess.Run Method
Search in JVCL Help
Search in all projectsSummary
Creates a new process and its primary thread.
Pascal
procedureRun;
Description
Call Run to create a new process and its primary thread. Run uses the properties of TJvCreateProcess to create the new process.
If the creation fails an EOSError error is raised. If the creation succeeded, and WaitForTerminate is True, State is set to psWaiting, and TJvCreateProcess waits for the process to end. If the process ends an OnTerminate event is triggered. If the creation succeeded, and WaitForTerminate is False, State is set to psRunning. No event will be triggered if the process ends.
You can stop the created process by calling CloseApplication or Terminate.
Note that you cannot call Run if State is psWaiting.
See Also
TJvCreateProcess.CloseApplication
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page