core-agent-linux/doc/vm-tools
Marek Marczykowski-Górecki ea0cd0fdc3
qrexec: fix reporting exit code in qrexec-client-vm
1. If local process is started, report its exit code, instaed of remote
one. To get remote exit code, simply start qrexec-client-vm without
third argument (and connect its stdin/stdout with the other process some
other way).

2. Report process terminated by signal.
Don't pretend that process terminated by signal finished successfuly.
Copy shell behaviour of reporting it as 128+signum.

3. Do not wait() for any child process, just the one we expect. In case
of qrexec-client-vm the child process is started differently and
wait()ing on it inside main loop would break its exit code reporting.

Fixes QubesOS/qubes-issues#2861
2017-06-21 11:21:40 +02:00
..
qrexec-client-vm.rst qrexec: fix reporting exit code in qrexec-client-vm 2017-06-21 11:21:40 +02:00
qvm-copy-to-vm.rst Remove dates from man pages 2017-03-16 05:47:11 -04:00
qvm-open-in-dvm.rst Remove dates from man pages 2017-03-16 05:47:11 -04:00
qvm-open-in-vm.rst Remove dates from man pages 2017-03-16 05:47:11 -04:00
qvm-run-vm.rst Rename qvm-run to qvm-run-vm 2017-05-23 02:55:31 +02:00