Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

developer terminal on windows doesn't work #187

Open
@anjannath

Description

issue is related to the path to crc executable, since the msi installs crc in C:\Program Files\CodeReady Containers\crc.exe and it contains a space ' ' in the path, when we pass it as argument to powershell.exe -Command it causes an error and no suitable way to escape the path has been found.

Full command used to launch powershell instance and run crc podman-env is:

powershell.exe -NoExit -command "&'C:\Program Files\CodeReady Containers\crc.exe podman-env | Invoke-Expression'"

https://github.com/code-ready/tray-electron/blob/809bd3d97aeefebaca4a360e96a21ce2bf09c10b/src/main.ts#L468-L479

PR #181 did not fix it

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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