Prepare for review

This commit is contained in:
Blue 2025-12-02 18:32:32 -08:00
parent 708a6ce3ac
commit 6c55fcb7c5
2 changed files with 2 additions and 3 deletions

View File

@ -87,7 +87,6 @@ Microsoft::WRL::ComPtr<WSLAContainer> WSLAContainer::Create(const WSLA_CONTAINER
std::vector<std::string> inputOptions;
if (hasStdin)
{
// For now return a proper error if the caller tries to pass stdin without a TTY to prevent hangs.
inputOptions.push_back("-i");
}

View File

@ -1238,8 +1238,8 @@ class WSLATests
// For now, validate that trying to use stdin without a tty returns the appropriate error.
auto container = launcher.Launch(*session);
// TODO: nerdctl hangs if stdin is closed without writting to it.
// Add test coverage for that usecase once that the hang is fixed.
// TODO: nerdctl hangs if stdin is closed without writing to it.
// Add test coverage for that usecase once the hang is fixed.
auto process = container.GetInitProcess();
auto input = process.GetStdHandle(0);