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

Show docker exec output #695

Closed
wclr opened this issue Mar 25, 2017 · 2 comments
Closed

Show docker exec output #695

wclr opened this issue Mar 25, 2017 · 2 comments

Comments

@wclr
Copy link

wclr commented Mar 25, 2017

Node version (or tell us if you're using electron or some other framework):

v6.10.1

ShellJS version (the most recent version/Github branch you see the bug on):

zsh

Operating system:

Windows 10/WSL (Ubuntu Linux)

This is a question. I'm trying to run using shell docker-compose exec [service] bash
Inner bash prompt of the container opens, but not command output is seen.
Any advice how to make output of when inside the docker container?

If just run this command from linux bash (not sheljs) ofcource it works fine.

@wclr
Copy link
Author

wclr commented Mar 25, 2017

standard exec from child_process works, so it should be no problem to fix it in shelljs.

@nfischer
Copy link
Member

If child_process works for you, use that.

This actually isn't trivial to fix, but will hopefully be fixed by a new API planned for ShellJS v0.8.

Marking as a duplicate of #680

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

No branches or pull requests

2 participants