Skip to content

Commit 8c52a02

Browse files
committed
fix: Use PowerShell Start-Process for Windows background
Git Bash cannot properly execute 'start /b' command. Use PowerShell Start-Process with -WindowStyle Hidden instead, which properly detaches the process and returns immediately.
1 parent 32df741 commit 8c52a02

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ jobs:
123123
shell: bash
124124
run: |
125125
if [[ "${{ runner.os }}" == "Windows" ]]; then
126-
# Windows: Start process without log redirection (Git Bash doesn't handle it well)
127-
start /b "" ".\dist\${{ matrix.output }}" --no-printers
126+
# Windows: Use PowerShell to start process in background
127+
powershell -Command "Start-Process -FilePath '.\dist\${{ matrix.output }}' -ArgumentList '--no-printers' -WindowStyle Hidden"
128128
else
129129
# Linux/macOS: Start with full log redirection
130130
chmod +x dist/${{ matrix.output }}

0 commit comments

Comments
 (0)