From: David Polakovic Date: Mon, 5 Feb 2024 10:05:24 +0000 (+0100) Subject: fixed Windows copy command X-Git-Url: https://git.dpolakovic.space/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=tti-encoder fixed Windows copy command --- diff --git a/tti.pl b/tti.pl index 6ea39a0..4f2e06a 100644 --- a/tti.pl +++ b/tti.pl @@ -20,7 +20,7 @@ my $new_filename = "processed_" . $filename; # copy the file if ($^O eq 'MSWin32' or $^O eq 'MSWin64') { # for Windows - system("cp", $filename, $new_filename); + system("copy", $filename, $new_filename); } else { # for every other system system("cp", $filename, $new_filename);