Process Control
The System::Diagnostics namespace also includes the extremely useful Process class, which allows you to start and stop new processes, enumerate the running processes on the system, and retrieve information about any running process. You can also enumerate processes on a remote machine, but you may not start or stop processes on the remote machine. The Process class has several very useful properties, such as Process::Id, which exposes the unique process ID of a process; Process::Handle, which returns a process's native Win32 handle, and many more. You'll see some of the more useful methods and properties in action in this section.
Starting a New Process
Start a new process by calling the Process::Start method, which has four overloads. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access