## Process::WaitForExit() method


等待进程退出，直到结束才返回。

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

## 另见

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


等待进程退出。未实现。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 毫秒 | int | 最大等待延迟。 |

### ReturnValue

如果进程已完成则为 true，超时则为 false。

## 另见

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