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

dexec outputs 'stdin: is not a tty' for all ruby and objective c input #54

Closed
andystanton opened this issue Nov 21, 2015 · 1 comment
Closed
Labels
Milestone

Comments

@andystanton
Copy link
Member

Any ruby or objective c input to dexec (from stdin or file) prefixes its output with the message:

stdin: is not a tty

For example:

Running this helloworld.rb script:

puts "hello world"

gives the following output:

$ dexec helloworld.rb

stdin: is not a tty
hello world
@andystanton andystanton added this to the v2.0.0 milestone Nov 21, 2015
@andystanton andystanton changed the title dexec outputs 'stdin: is not a tty' for all ruby input dexec outputs 'stdin: is not a tty' for all ruby and objective c input Nov 21, 2015
@andystanton
Copy link
Member Author

Adding this to the ruby dockerfile made the message disappear:

RUN         sed -i '/tty/!s/mesg n/tty -s && mesg n/' /root/.profile

Fix found here: http://foo-o-rama.com/vagrant--stdin-is-not-a-tty--fix.html

@andystanton andystanton modified the milestones: v1.0.6, v2.0.0 Apr 24, 2016
andystanton added a commit that referenced this issue Apr 24, 2016
Re-enable acceptance tests for ruby and objective c

Correct regex to fix #58 and add unit test
andystanton added a commit that referenced this issue Apr 24, 2016
Re-enable acceptance tests for ruby and objective c

Correct regex to fix #58 and add unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant