You seem to allege some problem with shell_quote, but none of the linked post identify one. The all seemed centered around the idea of avoiding the shell is better. While true, that's not a problem with shell_quote.
In reply to Re^3: preserve quotes after $0 interpolation
by ikegami
in thread preserve quotes after $0 + @ARGV interpolation
by richard.sharpe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |