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
Can't run docker with exec() (the input device is not a TTY) #680
Comments
This should be fixed by #524 |
I believe the same problem with docker compose exec |
standard |
Closed
Duplicate of #424 |
Workaround is in the FAQs: https://github.com/shelljs/shelljs/wiki/FAQ#running-interactive-programs-with-exec |
This was referenced Aug 29, 2019
This was referenced Mar 24, 2020
This was referenced Apr 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Node version (or tell us if you're using electron or some other framework):
7.7.1 (and also 7.5.0)
ShellJS version (the most recent version/Github branch you see the bug on):
0.7.6
Operating system:
Windows 10 x64, Ubuntu 16.04.2 x64
Description of the bug:
docker run
command can't be executed withexec()
. (May also affect other programs.)I'm executing this script (via
node script.js
):Depending on the operating system and terminal used, I'm getting different errors:
Windows 10 & Cmder:
Windows 10 & regular cmd:
Ubuntu:
Running the same command directly on the command line or even through
child_process.spawn()
works, though:The text was updated successfully, but these errors were encountered: