Made passing arguments to default command possible
This commit is contained in:
parent
4f06564999
commit
27dd9dfae2
5
wino
5
wino
|
@ -113,9 +113,12 @@ else
|
||||||
{
|
{
|
||||||
$command=`cat $container_path/default`;
|
$command=`cat $container_path/default`;
|
||||||
chomp $command;
|
chomp $command;
|
||||||
|
exec "WINEPREFIX=$container_path $winecmd $command @ARGV";
|
||||||
}
|
}
|
||||||
else { die "No command given, and no default command found"; }
|
else { die "No command given, and no default command found"; }
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
exec "WINEPREFIX=$container_path $winecmd \"$command\" @ARGV";
|
exec "WINEPREFIX=$container_path $winecmd \"$command\" @ARGV";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user