Call command wrapper
| 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