escape commas for mplayer
This commit is contained in:
parent
148105b3d0
commit
751a04e5e4
@ -6,6 +6,7 @@ foreach my $arg (@ARGV)
|
|||||||
{
|
{
|
||||||
my $out = $arg;
|
my $out = $arg;
|
||||||
$out =~ s/\....$//;
|
$out =~ s/\....$//;
|
||||||
|
$out =~ s/\,/\\,/g;
|
||||||
system('mplayer', '-vo', 'null', '-ao', "pcm:file=$out.wav", $arg);
|
system('mplayer', '-vo', 'null', '-ao', "pcm:file=$out.wav", $arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user