marvis.command_executor.util

Internal utility functions.

Functions

apply_user_and_shell

split_shell_arguments

stringify_shell_arguments

Classes

LogFile

The logfile helps by prepending timestamps to log lines.


marvis.command_executor.util.stringify_shell_arguments(command)[source]
marvis.command_executor.util.split_shell_arguments(command)[source]
marvis.command_executor.util.apply_user_and_shell(command, user=None, shell=None, sudo=False)[source]
class marvis.command_executor.util.LogFile(logger, path)[source]

Bases: object

The logfile helps by prepending timestamps to log lines.

log(level, line)[source]

Inheritance Diagramm

Inheritance diagram of marvis.command_executor.util