From baa7b7685c1eebd29d13817b3caeb8872ba1d915 Mon Sep 17 00:00:00 2001 From: brainopia Date: Sat, 7 Jan 2012 20:19:57 +0700 Subject: [PATCH] Use ruby exec which works with escaped cmd and replaces shell --- bin/runner | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/runner b/bin/runner index 65e7c5f..0fae134 100755 --- a/bin/runner +++ b/bin/runner @@ -1,2 +1,2 @@ -#!/bin/sh -eval "$1" 2>&1 +#!/usr/bin/env ruby +exec "#{ARGV.first} 2>&1"