fix(wss): update Docker command execution in terminal setup

This commit is contained in:
Mauricio Siu
2026-01-27 08:37:06 -06:00
parent 7362cc49d2
commit 74e0bd5fe3

View File

@@ -152,8 +152,8 @@ export const setupDockerContainerTerminalWebSocketServer = (
}
const shell = getShell();
const ptyProcess = spawn(
"docker",
["exec", "-it", "-w", "/", containerId, shell],
shell,
["-c", `docker exec -it -w / ${containerId} ${activeWay}`],
{},
);