call_command_wrapper
NOTE: Do not import any 3rd-party dependency from this module, since it is also
part of runner/executors/slurm_common/remote.py - which needs to run in an
environment where no dependencies are installed.
| FUNCTION | DESCRIPTION |
|---|---|
call_command_wrapper |
Call a command and write its stdout and stderr to files |
placeholder_if_too_long |
Returns a placeholder if the string is too long |
Classes
Functions:
call_command_wrapper(*, cmd, log_path, user_cache_dir)
Call a command and write its stdout and stderr to files
| PARAMETER | DESCRIPTION |
|---|---|
|
TYPE:
|
|
TYPE:
|
|
TYPE:
|
Source code in fractal_server/runner/executors/call_command_wrapper.py
placeholder_if_too_long(stderr)
Returns a placeholder if the string is too long