Improve argument handling
This commit is contained in:
parent
9949493117
commit
a4b503b272
8
wino
8
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";
|
||||
}
|
||||
|
|
Reference in New Issue
Block a user