From 63ba5a8dc2aa4ec3e6f203b0ba4db249ecf0b00e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 27 Jul 2016 21:33:09 +0200 Subject: Rename helpers to music_sampler --- helpers/actions/run_command.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 helpers/actions/run_command.py (limited to 'helpers/actions/run_command.py') diff --git a/helpers/actions/run_command.py b/helpers/actions/run_command.py deleted file mode 100644 index 1e80c1e..0000000 --- a/helpers/actions/run_command.py +++ /dev/null @@ -1,13 +0,0 @@ -import shlex, subprocess - -def run(action, command="", wait=False, **kwargs): - action.process = subprocess.Popen(command, shell=True) - if wait: - action.process.wait() - -def description(action, command="", wait=False, **kwargs): - message = "running command {}".format(command) - if wait: - message += " (waiting for its execution to finish)" - - return message -- cgit v1.2.3