Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing the native-descriptor() from a Proc output seems to break it. #6640

Open
p6rt opened this issue Nov 22, 2017 · 3 comments
Open

Accessing the native-descriptor() from a Proc output seems to break it. #6640

p6rt opened this issue Nov 22, 2017 · 3 comments

Comments

@p6rt
Copy link

@p6rt p6rt commented Nov 22, 2017

Migrated from rt.perl.org#132487 (status was 'open')

Searchable as RT132487$

@p6rt
Copy link
Author

@p6rt p6rt commented Nov 22, 2017

From curt@tilmes.org

% perl6 -e 'my $proc = run "cat", :in, :out; $proc.in.say​: "test\n"; say
$proc.out.get; $proc.in.close;'
test

% perl6 -e 'my $proc = run "cat", :in, :out; say
$proc.out.native-descriptor; $proc.in.say​: "test\n"; say $proc.out.get;
$proc.in.close;'
28
Nil

@p6rt
Copy link
Author

@p6rt p6rt commented Dec 4, 2017

From @AlexDaniel

  Some *able info, if anyone is interested​:

  Output on all releases​: https://gist.github.com/a68b094519839b939f8c70d66a80d8c0
 
  Some possibly relevant commits​:
  rakudo/rakudo@92bd7e4
  rakudo/rakudo@6dae179
 
  On 2017-11-22 11​:26​:59, curt@​tilmes.org wrote​:
  > % perl6 -e 'my $proc = run "cat", :in, :out; $proc.in.say​: "test\n"; say
  > $proc.out.get; $proc.in.close;'
  > test
  >
  > % perl6 -e 'my $proc = run "cat", :in, :out; say
  > $proc.out.native-descriptor; $proc.in.say​: "test\n"; say $proc.out.get;
  > $proc.in.close;'
  > 28
  > Nil
 
 
   

@p6rt
Copy link
Author

@p6rt p6rt commented Dec 4, 2017

The RT System itself - Status changed from 'new' to 'open'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.