CRaC / criu

Other
28 stars 10 forks source link

Don't put restored process on foreground if we are background process #14

Open rvansa opened 10 months ago

rvansa commented 10 months ago

When the restore is executed in background (e.g. using java -XX:CRaCRestoreFrom=... &) and the restored process receives foreground forcefully, when this exits the parent shell (not on foreground) tries to read input and receives EOF, subsequently exiting. For users this might look as if the bash terminal gets suddenly closed for no reason at all.