Public bug reported:

It executes the supplied command thusly:
DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@" 2>&1

This should be
DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@"

Leaving the caller to redirect stderr to stdout, or to supply a single
fd at their discretion. The side effect of munging the two fd's together
is that programs which provide structured data on stdout have their
output streams corrupted if they, or any subprocesses they have, happen
to write to stderr at an inopportune time.

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1059947

Title:
  xvfb-run munges stdout and stderr together

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1059947/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to