feat: Capture PTY output

This commit is contained in:
Kroese 2024-01-24 01:47:55 +01:00 committed by GitHub
parent d61f4a393a
commit 1961ee6dd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,6 +27,7 @@ info "Booting $APP using $VERS..."
terminal
tail -fn +0 "$QEMU_LOG" 2>/dev/null &
cat "$QEMU_TERM" 2>/dev/null & wait $! || :
cat "$QEMU_TERM" 2> /dev/null | tee "$QEMU_PTY" &
wait $! || :
sleep 1 && finish 0