please add an option to return the client‘s exit code
Submitted by Christopher Yeleighton
Assigned to Xorg Project Team
Description
Some packages contain tests that require a connection to X Windows. Those tests may be run in stand-alone build environments under ad-hoc xinit. However, there is currently no way to notify the build of the status returned by the client script, as it usually happens.
I suggest adding an option to xinit to exit using the return code of the client.
Example syntax: { xinit -rc /usr/bin/make test; }
Exit code: the exit code of the client application if the server can be started, otherwise a failure code.