<div dir="ltr"><br><div>Hi,</div><div>I think I might have encountered a bug in the guest additions for Windows, but I'm not totally sure.</div><div><br></div><div>The problem occurs when trying to start a process using IGuestProcess.ProcessCreate with an argument that contains a quote.</div>
<div>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.</div><div><br></div><div>For example the following argument:</div>
<div><br></div><div>TARGET="path"</div><div><br></div><div>The executable receives the following argument instead:</div><div><br></div><div>TARGET=\path\</div><div><br></div><div>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.</div>
<div>The problem doesn't occur with setting environment variables though - they retain the quotes fine.</div><div><br></div><div>Am I doing something wrong, or is this a bug?</div><div><br></div><div>Kind regards,</div>
<div>Magnus</div></div>