From b7e7ab2336cb11a54f1f5b64d8e08f39bd241f6b Mon Sep 17 00:00:00 2001 From: NotAFile Date: Wed, 29 Sep 2021 18:07:07 +0200 Subject: [PATCH] actually use argv argument --- hellpipe/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hellpipe/main.py b/hellpipe/main.py index 5fcbb1d..6b8c7f0 100644 --- a/hellpipe/main.py +++ b/hellpipe/main.py @@ -30,7 +30,7 @@ def split_commands(tokens): def main(): command = sys.argv[1] if len(sys.argv) > 1 else INPUTCMD - oneliner = shlex.shlex(INPUTCMD, posix=True, punctuation_chars=True) + oneliner = shlex.shlex(command, posix=True, punctuation_chars=True) stages = [] last_stage = None