2020-12-02 05:37:26 +08:00
# vcpkg_execute_required_process_repeat
2021-03-11 01:56:07 +08:00
The latest version of this document lives in the [vcpkg repo ](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_execute_required_process_repeat.md ).
2021-03-01 05:17:19 +08:00
2020-12-02 05:37:26 +08:00
Execute a process until the command succeeds, or until the COUNT is reached.
## Usage
```cmake
vcpkg_execute_required_process_repeat(
COUNT < num >
COMMAND < cmd > [< arguments > ]
WORKING_DIRECTORY < directory >
LOGNAME < name >
)
```
## Source
2021-03-01 05:17:19 +08:00
[scripts/cmake/vcpkg\_execute\_required\_process\_repeat.cmake ](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_execute_required_process_repeat.cmake )