_is_termux. Internal helper function. This docstring was added automatically to improve maintainability. Returns: Varies.
()
| 74 | |
| 75 | Returns: |
| 76 | Varies. |
| 77 | """ |
| 78 | return _run(["bash", "-lc", cmd], check=False, capture=capture) |
| 79 | |
| 80 | def _is_termux() -> bool: |
| 81 | """_is_termux. |
| 82 | |
| 83 | Internal helper function. |
| 84 | |
| 85 | This docstring was added automatically to improve maintainability. |
| 86 | |
| 87 | Returns: |
| 88 | Varies. |
| 89 | """ |
| 90 | prefix = os.environ.get("PREFIX", "") |
no outgoing calls
no test coverage detected