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:
issue is related to the path to
crc
executable, since the msi installs crc inC:\Program Files\CodeReady Containers\crc.exe
and it contains a space' '
in the path, when we pass it as argument topowershell.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 runcrc podman-env
is:https://github.com/code-ready/tray-electron/blob/809bd3d97aeefebaca4a360e96a21ce2bf09c10b/src/main.ts#L468-L479
PR #181 did not fix it