2019-12-14 04:11:12 +01:00
|
|
|
class CommandRunner(object):
|
|
|
|
"""docstring for CommandRunner."""
|
|
|
|
|
|
|
|
def __init__(self):
|
|
|
|
super(CommandRunner).__init__()
|
|
|
|
|
|
|
|
def run(self, module):
|
|
|
|
print("REAL RUNNER")
|
|
|
|
print("Commands should be executed as subprocess.")
|
|
|
|
|
|
|
|
|
|
|
|
class CommandRunnerDebug(object):
|
|
|
|
def __init__(self):
|
|
|
|
super(CommandRunnerDebug).__init__()
|
|
|
|
|
|
|
|
def run(self, module):
|
|
|
|
print("DEBUG RUNNER")
|
2019-12-14 04:26:02 +01:00
|
|
|
print(module.get_command())
|