• Rewrote shellquote() to ignore things like command-line switched and executable paths. Also only execute the catch-all regex when no other regexes match (closes #27).
• Switched to double-quoting of strings because that makes it easier to handle single quotes in strings (which is more likely than double quotes).
• Added more test cases.
1 parent 03bd0e6 commit 1d7029db45a02d49e2db73e665434cd63e7b4496
Nigel Stanger authored on 3 Mar 2017
Showing 1 changed file
View
shell_command.py