2020-12-01 13:37:26 -08:00
# vcpkg_execute_required_process_repeat
2021-02-28 13:17:19 -08:00
The latest version of this document lives in the [vcpkg repo ](https://github.com/Microsoft/vcpkg/blob/master/maintainers/vcpkg_execute_required_process_repeat.md ).
2020-12-01 13: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-02-28 13: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 )