File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ jobs:
3131 shell : wsl-bash {0}
3232 run : chmod +x zwave_stack/*.elf
3333
34- - name : Start Z-Wave stack and verify output
34+ - name : Start Z-Wave stack with nohup
3535 shell : wsl-bash {0}
3636 run : |
37- # Start the Z-Wave stack and capture output
38- bash ./start-zwave-stack.sh > /tmp/zwave-output.log 2>&1 &
37+ # Start the Z-Wave stack with nohup so processes survive shell exit
38+ nohup bash ./start-zwave-stack.sh > /tmp/zwave-output.log 2>&1 &
3939
40- # Wait for services to start
40+ # Wait for services to start and bind ports
4141 sleep 5
4242
4343 # Show the output
5151 exit 1
5252 fi
5353
54+ # Verify ports are listening in WSL
55+ echo "Checking ports in WSL..."
56+ ss -tlnp | grep -E "500[0-4]" || echo "Warning: ports not showing in ss"
57+
5458 - name : Test TCP connection from Windows
5559 shell : powershell
5660 run : |
You can’t perform that action at this time.
0 commit comments