mirror of
https://github.com/dockur/windows.git
synced 2026-08-03 12:37:20 +01:00
fix: Prevent races during interactive QEMU shutdown (#1906)
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ if ! interactive; then
|
|||||||
"${cmd[@]}" ${ARGS:+ $ARGS} >"$pipe" 2>&1 &
|
"${cmd[@]}" ${ARGS:+ $ARGS} >"$pipe" 2>&1 &
|
||||||
else
|
else
|
||||||
startConsole "$pipe"
|
startConsole "$pipe"
|
||||||
setsid -w "${cmd[@]}" ${ARGS:+ $ARGS} </dev/null >"$pipe" 2>&1 &
|
startQemu "${cmd[@]}" ${ARGS:+ $ARGS} >"$pipe" 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pid=$!
|
pid=$!
|
||||||
|
|||||||
Reference in New Issue
Block a user