Unverified Commit 553e6eb6 authored by copilot-swe-agent[bot]'s avatar copilot-swe-agent[bot] Committed by GitHub
Browse files

fix: don't redirect /dev/tty to QEMU stdin so Ctrl+C triggers SIGINT trap

parent 68ff6cdd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ info "Booting image${BOOT_DESC} using QEMU v$version..."
if [ ! -t 1 ] || [ ! -c /dev/tty ]; then
  qemu-system-x86_64 ${ARGS:+ $ARGS} &
else
  qemu-system-x86_64 ${ARGS:+ $ARGS} </dev/tty >/dev/tty &
  qemu-system-x86_64 ${ARGS:+ $ARGS} >/dev/tty &
fi

rc=0