Use ruby exec which works with escaped cmd and replaces shell

This commit is contained in:
brainopia committed 2012-01-07 20:19:57 +07:00
1 parent cfa6e6f259
commit baa7b7685c
1 file changed
+2 -2
+2 -2
View File
@@ -1,2 +1,2 @@
#!/bin/sh #!/usr/bin/env ruby
eval "$1" 2>&1 exec "#{ARGV.first} 2>&1"