vscode-remote-release
vscode-remote-release copied to clipboard
Devcontainer initializeCommand does not get pushed to interactive terminal
- VSCode Version: 1.90.1
- Devcontainer extension version: v0.369.0 and v0.373.0 (pre-release)
- Local OS Version: Ubuntu 22.04
- Remote OS Version: Ubuntu 22.04
- Remote Extension/Connection Type: DevContainer
Steps to Reproduce:
- Write an interactive command in initializeCommand, one that waits for input, for ex:
read -p "Continue? (Y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || exit 1 - Rebuild and reopen in container
It should behave the same as postAttachCommand, pushing it to an interactive terminal. Instead, it stays in the devcontainer logs terminal and hangs the devcontainer start because the user cannot enter any input here.
Does this issue occur when you try this locally?: Yes (this runs on the host machine) Does this issue occur when you try this locally and all extensions are disabled?: n/a, this is related to the devcontainer extension.
This seems to be re-re-regression of these issues
- https://github.com/microsoft/vscode-remote-release/issues/2434#issuecomment-949437987
- https://github.com/microsoft/vscode-remote-release/issues/6557