escape commas for mplayer
This commit is contained in:
1 parent
148105b3d0
commit
751a04e5e4
1 file changed
+4
-3
+4
-3
@@ -4,8 +4,9 @@ use strict;
|
||||
|
||||
foreach my $arg (@ARGV)
|
||||
{
|
||||
my $out = $arg;
|
||||
$out =~ s/\....$//;
|
||||
system('mplayer', '-vo', 'null', '-ao', "pcm:file=$out.wav", $arg);
|
||||
my $out = $arg;
|
||||
$out =~ s/\....$//;
|
||||
$out =~ s/\,/\\,/g;
|
||||
system('mplayer', '-vo', 'null', '-ao', "pcm:file=$out.wav", $arg);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user