rxn.onmt_models.utils.run_command
- rxn.onmt_models.utils.run_command(command_and_args)[source]
Run a command, printing its output (stdout and stderr) to the logs.
- Raises
RuntimeError – for different errors that may be encountered, and when the return code of the executed command is not zero.
- Parameters
command_and_args (
List
[str
]) –- Return type
None