Normally when taking user input I would do something like system("echo #{Shellwords.shellescape(data)}")
but on Windows I always get:
[2] pry(main)> system("echo #{Shellwords.shellescape(var1)}")
Hello\ \'\ world => true
Is there a way I can properly escape for Windows?