Skip to content

Commit 162f550

Browse files
committed
fix: redirect stdin in CLI integration tests to prevent blocking in CI environments
1 parent f342e86 commit 162f550

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/TenSecondTom.IntegrationTests/Integration/Cli/SetupCommandCliTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ private Process CreateCliProcess(string arguments)
9191
FileName = executablePath,
9292
Arguments = arguments,
9393
WorkingDirectory = _projectRoot,
94+
RedirectStandardInput = true, // Prevent blocking on stdin
9495
RedirectStandardOutput = true,
9596
RedirectStandardError = true,
9697
UseShellExecute = false,

0 commit comments

Comments
 (0)