Package: xvfb Version: 4.3.0.dfsg.1-8 Severity: normal Tags: patch When passing xvfb-run a command that uses quotes, the quoting is lost and the command doesn't work as intended.
an example: $ xvfb-run wine 'c:\Program Files\NSIS\makensis.exe' 'win\client.nsi' /usr/bin/wine.bin: cannot find 'c:\Program' Wine failed with return code 1 With the following patch applied, this works as expected. --- xvfb-run 2004-10-13 18:16:13.000000000 -0400 +++ xvfb-run.fix 2004-10-13 18:16:26.000000000 -0400 @@ -126,7 +126,7 @@ # start the command and save its exit status set +e -DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE $@ 2>&1 +DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@" 2>&1 RETVAL=$? set -e -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.8.1 Locale: LANG=en_US, LC_CTYPE=en_US Versions of packages xvfb depends on: ii libc6 2.3.2.ds1-17 GNU C Library: Shared libraries an ii libfreetype6 2.1.7-2.2 FreeType 2 font engine, shared lib ii zlib1g 1:1.2.2-1 compression library - runtime -- no debconf information