[vbox-dev] Additions-Windows: Problem with quotes in arguments
madsen.magnus at gmail.com
Sun Jun 2 11:38:46 PDT 2013
I think I might have encountered a bug in the guest additions for Windows,
but I'm not totally sure.
The problem occurs when trying to start a process using
IGuestProcess.ProcessCreate with an argument that contains a quote.
Each argument given to the started process are enclosed in quotes, but if
the argument itself contains any quotes, they are replaced with a backslash.
For example the following argument:
The executable receives the following argument instead:
I don't have any non-windows based VMs to test it on, but it is present on
both Windows XP and Windows 8 using the latest guest additions.
The problem doesn't occur with setting environment variables though - they
retain the quotes fine.
Am I doing something wrong, or is this a bug?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vbox-dev