From 96defe8525b9129b88bb5f2fceaef98d9d9e8907 Mon Sep 17 00:00:00 2001 From: brian d foy Date: Wed, 21 Jun 2023 22:46:47 -0400 Subject: [PATCH] Use cmd /c --- bin/cp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cp b/bin/cp index 7a55c161..c009ccec 100755 --- a/bin/cp +++ b/bin/cp @@ -60,7 +60,7 @@ sub run { my @unix_like = qw(darwin freebsd linux); if( $^O eq 'MSWin32' ) { # https://home.csulb.edu/~murdock/copy.html - my @command = 'copy'; + my @command = 'cmd', '/c', 'copy'; push @command, '/-Y' if $opts{i}; push @command, $source, $destination;