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

fix: exec qemu in background wrapper for correct pid

parent 8e06b1a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ version=$(qemu-system-x86_64 --version | head -n 1 | cut -d '(' -f 1 | awk '{ pr
info "Booting ${APP}${BOOT_DESC} using QEMU v$version..."

{
  qemu-system-x86_64 ${ARGS:+ $ARGS}
  exec qemu-system-x86_64 ${ARGS:+ $ARGS}
} > >(tee "$QEMU_PTY" | sed -u \
        -e 's/\x1B\[[=0-9;]*[a-z]//gi' \
        -e 's/\x1B\x63//g' \