radiodan/wpa-cli-ruby — pull request #2 by JSchaenzle (2013-12-31 15:32:56+00:00)
Title: Patch 1

Essentially I replaced %x[...] with IO.popen. This sends the argument directly to the process, bypassing the shell. Now we don't have to worry about nasty escaping problems.