Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

print/say doesn't work on MSWin32 #7

Closed
plicease opened this Issue · 0 comments

1 participant

@plicease
Owner

saw this code block in Git::Wrapper, which may be illustrative

local *TEMP;
if ($^O eq 'MSWin32' && defined $stdin) {
  my $file = File::Temp->new;
  $file->autoflush(1);
  $file->print($stdin);
  $file->seek(0,0);
  open TEMP, '<&=', $file;
  $wtr = '<&TEMP';
  undef $stdin;
}
@plicease plicease referenced this issue from a commit
@plicease doco (issue #7) 01f83c1
@plicease plicease closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.