Skip to main content

Process methods

Suggest edit Updated on November 10, 2021

Use the methods in the Process folder (under Utilities) to start, stop, and interact with processes in an application.

Methods

MethodDescriptionParametersReturns
CreateProcessStartInfoStarts a process resource and associates it with a Process component.stringA new Process
GetCurrentProcessGets a new Process component and associates it with the currently active process.New Process component
GetProcessesCreates a new Process component for each process resource on the local computer.An array of type Process
GetProcessByIdCreates a new Process component, and associates it with the existing process resource that you specify.Int32A new Process component
GetProcessesByNameCreates an array of new Process components and associates them with the existing process resources that all share the specified process name. stringAn array of type Process
KillProcessForces termination of the underlying process.
OpenInFileExplorerOpens a Process in Windows File Explorer.
StartProcessStarts a process resource and associates it with a Process component. StringA new Process
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us