Use ruby exec which works with escaped cmd and replaces shell
This commit is contained in:
1 parent
cfa6e6f259
commit
baa7b7685c
1 file changed
+2
-2
+2
-2
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env ruby
|
||||||
eval "$1" 2>&1
|
exec "#{ARGV.first} 2>&1"
|
||||||
Reference in new issue
Block a user