On 09/01/2008, Laurent Vivier <[EMAIL PROTECTED]> wrote: > Le mardi 08 janvier 2008 à 17:17 +0100, Hervé Poussineau a écrit : > > Hi, > > > > On Windows, since December 2nd, files names provided in command line > > have to double their backslash to work correctly, for example: "-hda > > c:\\disks\\qemu.qcow" instead of -hda c:\disks\qemu.qcow" > > This patch removes this need and reverts back to Qemu 0.9.0 behaviour > > > > Hervé > > > > I have introduced this behavior to be able to use command line like > "qemu -hda my\ file", IMHO your patch should be #ifdef for window only.
Why should qemu reimplement the escaping if shells already do that? If parameter values with spaces are not handled correctly then it's an error somewhere else. I don't think there needs to be any difference in the handling of the parameters between unix and ms-windows (in this case). Regards