Skip to content

allow exec command after --workspace-folder flag #1050

@n-arakawa

Description

@n-arakawa

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".

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions