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

请教 interactive shell 问题 #98

Open
QiangZiBro opened this issue Oct 23, 2022 · 1 comment
Open

请教 interactive shell 问题 #98

QiangZiBro opened this issue Oct 23, 2022 · 1 comment

Comments

@QiangZiBro
Copy link

QiangZiBro commented Oct 23, 2022

大佬您好,我的使用场景希望用到 interactive shell,比如结合 asynctasks 快速在 docker 容器里运行一些命令,我写了个脚本 d 做这个事情。
但不管在neovim内,还是使用脚本,发现都不支持 interactive shell
image

image

请问需要进行什么设置吗?
@meicale
Copy link

meicale commented Mar 4, 2023

docker exec + 需要在容器中执行的命令。 可以不用启动interactive shell,就执行完相应的命令。这里面存在的问题是host 文件目录的映射到container 文件目录的问题。可能会导致有些命令或者返回的结果不正确。

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

2 participants