Use ruby exec which works with escaped cmd and replaces shell

This commit is contained in:
brainopia
2012-01-07 20:19:57 +07:00
parent cfa6e6f259
commit baa7b7685c

View File

@@ -1,2 +1,2 @@
#!/bin/sh
eval "$1" 2>&1
#!/usr/bin/env ruby
exec "#{ARGV.first} 2>&1"