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

[Truffle] Issue with getting backtick output #2889

Closed
bjfish opened this issue Apr 29, 2015 · 3 comments
Closed

[Truffle] Issue with getting backtick output #2889

bjfish opened this issue Apr 29, 2015 · 3 comments
Assignees

Comments

@bjfish
Copy link
Contributor

bjfish commented Apr 29, 2015

Expected

ruby -e 'puts `/Users/brandonfish/Documents/jruby/bin/jruby -J-ea -J-Xmx2G -e "puts true"`'
true

Actual

 ruby -e 'puts `/Users/brandonfish/Documents/jruby/bin/jruby -X+T -J-ea -J-Xmx2G -e "puts true"`'

@bjfish
Copy link
Contributor Author

bjfish commented Apr 30, 2015

This is need for the argf tests.

@chrisseaton chrisseaton added this to the truffle-dev milestone Apr 30, 2015
@chrisseaton chrisseaton self-assigned this May 8, 2015
@chrisseaton
Copy link
Contributor

The problem is that our File objects for stdout and stderr are not flushed on exit, as they're just normal objects - the runtime doesn't know anything about them. Minimal example of the problem:

$ jt e print 14 | wc
       0       0       0

@chrisseaton
Copy link
Contributor

Fixed in 9e518a1

@enebo enebo added this to the Invalid or Duplicate milestone Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants