Skip to content

Commit

Permalink
Use cmd /c
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Jun 22, 2023
1 parent 71e105e commit 96defe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cp
Expand Up @@ -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;

Expand Down

0 comments on commit 96defe8

Please sign in to comment.