Exemple #1
0
def bash_proc(*strings: str) -> list:
    return [
        HOST_ROOT_PATH,
        BASH,
        INTERPRET,
        concat([*strings], SPACE),
    ]
Exemple #2
0
def absolute_name(tested: Callable):
    return concat([tested.__module__, tested.__name__], DOT)
Exemple #3
0
def interactive_bash_command(*strings: str) -> str:
    return concat(
        [BASH, INTERACTIVE, INTERPRET, DOUBLE_QUOTE, *strings, DOUBLE_QUOTE],
        SPACE)