SyntaxFix
Write A Post
Hire A Developer
Questions
>>> command = "echo a; echo b" >>> shlex.split(command); ['echo', 'a; echo', 'b']
so, the problem is shlex module do not handle ";"