xtd 0.2.0
Loading...
Searching...
No Matches

◆ close()

void xtd::diagnostics::process::close ( )

Frees all the resources that are associated with this component.

Exceptions
xtd::invalid_operation_exceptionThere is no process associated with this xtd::diagnostics::process object.
Remarks
The xtd::diagnostics::process::close method causes the process to stop waiting for exit if it was waiting, closes the process handle, and clears process-specific properties. Close does not close the standard output, input, and error readers and writers in case they are being referenced externally.