From a4b503b2726236a2f27ea29264ccfa3e2445fe8d Mon Sep 17 00:00:00 2001 From: Anna Date: Wed, 27 Apr 2011 13:49:12 -0400 Subject: [PATCH] Improve argument handling --- wino | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/wino b/wino index 6377d39..b2952e0 100755 --- a/wino +++ b/wino @@ -111,12 +111,6 @@ else } else { die "No command given, and no default command found"; } } - else - { - # Add anything else hanging out in @ARGV to the command, to handle filenames - # with spaces... - $command .= ' ' . join(' ', @ARGV); - } - exec "WINEPREFIX=$container_path $winecmd \"$command\""; + exec "WINEPREFIX=$container_path $winecmd \"$command\" @ARGV"; }