Compare commits
2 Commits
0fc052efe0
...
bd43832eee
Author | SHA1 | Date |
---|---|---|
NotAFile | bd43832eee | |
NotAFile | b7e7ab2336 |
|
@ -30,7 +30,10 @@ def split_commands(tokens):
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
command = sys.argv[1] if len(sys.argv) > 1 else INPUTCMD
|
command = sys.argv[1] if len(sys.argv) > 1 else INPUTCMD
|
||||||
oneliner = shlex.shlex(INPUTCMD, posix=True, punctuation_chars=True)
|
if command.strip() == "-":
|
||||||
|
command = sys.stdin.read()
|
||||||
|
|
||||||
|
oneliner = shlex.shlex(command, posix=True, punctuation_chars=True)
|
||||||
stages = []
|
stages = []
|
||||||
|
|
||||||
last_stage = None
|
last_stage = None
|
||||||
|
|
Loading…
Reference in New Issue