Improve argument handling

This commit is contained in:
Anna Rose 2011-04-27 13:49:12 -04:00
parent 9949493117
commit a4b503b272

8
wino
View File

@ -111,12 +111,6 @@ else
} }
else { die "No command given, and no default command found"; } 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";
} }