subprocess
#
Helpler functions for subprocess.
Functions#
|
|
|
|
|
This utility function should be preferred for all conda subprocessing. |
|
|
|
Attributes#
- Response#
- _format_output(command_str, cwd, rc, stdout, stderr)#
- any_subprocess(args, prefix, env=None, cwd=None)#
- subprocess_call(command: str | os.PathLike | pathlib.Path | collections.abc.Sequence[str | os.PathLike | pathlib.Path], env: dict[str, str] | None = None, path: str | os.PathLike | pathlib.Path | None = None, stdin: str | None = None, raise_on_error: bool = True, capture_output: bool = True)#
This utility function should be preferred for all conda subprocessing. It handles multiple tricky details.
- _subprocess_clean_env(env, clean_python=True, clean_conda=True)#
- subprocess_call_with_clean_env(command, path=None, stdin=None, raise_on_error=True, clean_python=True, clean_conda=True)#