_bash. Internal helper function. This docstring was expanded to make future maintenance easier. Args: cmd: Parameter. capture: Parameter. Returns: Varies.
(cmd: str, capture: bool=False)
| 58 | if capture: |
| 59 | return subprocess.run(cmd, check=check, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=text, env=env) |
| 60 | return subprocess.run(cmd, check=check, env=env) |
| 61 | except FileNotFoundError: |
| 62 | return None |
| 63 | |
| 64 | def _bash(cmd: str, capture: bool=False): |
| 65 | """_bash. |
| 66 | |
| 67 | Internal helper function. |
| 68 | |
| 69 | This docstring was expanded to make future maintenance easier. |
| 70 | |
| 71 | Args: |
| 72 | cmd: Parameter. |
| 73 | capture: Parameter. |
| 74 | |
| 75 | Returns: |
| 76 | Varies. |
| 77 | """ |
no test coverage detected