Changed the shell_escape function to always escape newline and quote arguments in single-quote if they contain invalid characters (' ', (, ), and |), but only if the argument is not a long argument (starts with --). shell_escape is called for both interactive and non-interactive shell.
This fixes #73 and #54 and #46 still works, verified with
Changed the
shell_escape
function to always escape newline and quote arguments in single-quote if they contain invalid characters (' ', (, ), and |), but only if the argument is not a long argument (starts with --).shell_escape
is called for both interactive and non-interactive shell.This fixes #73 and #54 and #46 still works, verified with