## Process::WaitForExit() method


Waits for process to exit, doesn't return until it's over.

```cpp
void System::Diagnostics::Process::WaitForExit()
```

## See Also

* Class [Process](../)
* Namespace [System::Diagnostics](../../)
* Library [Aspose.Page for C++](../../../)
## Process::WaitForExit(int) method


Waits for process to exit. Not implemented.

```cpp
bool System::Diagnostics::Process::WaitForExit(int milliseconds)
```


| Parameter | Type | Description |
| --- | --- | --- |
| milliseconds | int | Maximum waiting delay. |

### ReturnValue

True if process is finished, false if timeout exceeds.

## See Also

* Class [Process](../)
* Namespace [System::Diagnostics](../../)
* Library [Aspose.Page for C++](../../../)
