Commit 56d457c
Update documentation for folly::Subprocess::pollUnchecked
Summary:
Previously it was stated that this method would certainly call `CalledProcessError` if the process has exited. However, for instances where the poll does not go through due to the process already having exited, this is not the case and the function will throw a std::logic_error. To avoid confusion here, I have added clarifications on the exact behaviour for future travellers.
Context: https://fb.workplace.com/groups/560979627394613/permalink/3546349242190955/
Reviewed By: dmm-fb
Differential Revision: D91219516
fbshipit-source-id: 2d8a18b16a4d71c65ae8b319fe873d6fb5b247831 parent 521afaf commit 56d457c
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
662 | 666 | | |
663 | 667 | | |
664 | 668 | | |
| |||
0 commit comments