devcontainers / devcontainers/cli
allow exec command after --workspace-folder flag
未关闭
- 主要语言
- TypeScript
- 星标
- 3k
- 派生
- 457
- 平均合并
- 13 小时 17 分钟
- 30 天内合并 PR
- 6
描述
It seems that the 'exec' command is only allowed as the first parameter.
```
devcontainer --workspace-folder . exec ls
OCI runtime exec failed: exec failed: unable to start container process: exec: "exec": executable file not found in $PATH: unknown
```
Like `up` etc., it expects options followed by `exec` to be allowed.
With this change, one can create an alias as `alias devc="devcontainer --workspace-folder PATH"`.
贡献指南
评估
这个 Issue 还没有评估数据。