Skip to content

Commit

Permalink
Close STDIN when running Makefile.PL
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Jul 25, 2023
1 parent ab96e88 commit 4a3432b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Module/Release.pm
Expand Up @@ -720,7 +720,7 @@ sub build_makefile {
return;
}

$self->run( "$self->{perl} $self->{'Makefile.PL'} 2>&1" );
$self->run( "$self->{perl} $self->{'Makefile.PL'} 2>&1 0<&-" );

$self->_print( "done\n" );
}
Expand Down

0 comments on commit 4a3432b

Please sign in to comment.