qip.command¶
-
qip.command.execute(command, environ_mapping, quiet=False)[source]¶ Execute command within environ_mapping.
Parameters: - command –
command to execute.
It should be in the form of:
"python -m pip install foo" - environ_mapping – mapping with all environment variables that must be set for the command to run properly.
- quiet – indicate whether output lines should be hidden. Default is False.
Raises: RuntimeError – if command execution fails
Returns: Command output.
- command –