Skip to content

Commit

Permalink
try harder with HANDLE_FLAG_INHERIT
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Jun 17, 2023
1 parent 224969f commit d93bb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/bc/ipc-open3.t
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sub run_bc {
require Win32API::File;
Win32API::File->import( qw(:Func :HANDLE_FLAG_) );
my $wh = FdGetOsFHandle(fileno $child_in);
SetHandleInformation($wh, HANDLE_FLAG_INHERIT, 0);
SetHandleInformation($wh, HANDLE_FLAG_INHERIT(), 0);
die "Can't turn off HANDLE_FLAG_INHERIT: $@";
}

Expand Down

0 comments on commit d93bb48

Please sign in to comment.