• 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. |
---|
|
shell_command.py |
---|