[vbox-dev] Regarding possible solution to #13157 - Windows Command line argument handling error

Knut St. Osmundsen knut.osmundsen at oracle.com
Tue May 5 09:56:52 GMT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/05/2015 08:39 AM, Magnus Madsen wrote:
> Hi Knut, The new option does work as advertised; it sends the
> arguments directly to the new process without stripping characters
> or enclosing it in quotes. I'm not positive that adding the new
> argument is the best solution though. For information's sake, could
> you let me know what processes I can test that act differently than
> notepad.exe with regards to the command-line arguments?

Great.

All applications using the argv that the CRT supplies via the main()
function or via global variables, and those using the CommandToArgvW
shell32.dll API.  This includes all VirtualBox programs, the Microsoft
C++ compilers, and more.

The --unquoted-args option won't be made the default behavior as it
would "break" a whole other bunch of programs, including our own.

- -- 

Kind regards / Mit freundlichen Gruessen / Vennlig hilsen,
  bird

- --

ORACLE Deutschland B.V. & Co. KG  Knut St. Osmundsen
Werkstrasse 24                    Senior Staff Engineer, VirtualBox
71384 Weinstadt, Germany          mailto:bird at sun.com

Hauptverwaltung: Riesstr. 25, D-80992 Muenchen
Registergericht: Amtsgericht Muenchen, HRA 95603

Komplementaerin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschaeftsfuehrer: J. Kunz, M. van de Molen, A. van der Ven

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVSJPfAAoJEOutQgSnoggNAsIP/3MtjDt4zpZjFSoBDmk8egl6
3NQBAWt7nCZzm/N9yXvhtCPS8ADbdfGr/NVmXL51uxHGJYFmfSe0c0AcyOCaoGfj
6Ba0UvGij4BX1BKrS1+A2iQRg4ZdvmLFrpQ0ydqBLuSh3erMHXYlvHRCfrgAsPra
bZI5jA34uhjMXNg2Ab0VAgqFzljKQw040jBQZ7Q659ClWWmZItYL8jWagwOX2AVa
il6SAsDLWOixKJa/P6PpUFBIHmWVNwc7kwmzfIRaM9NAua6rhyi1THEWbtgPb0Fp
TpOJCJIlySXftNVkkNl1M7/Gghena4x4HEeI9LBNkZ/zVaRa6sIsqeTsifSpZN+1
89NOCM8dbqf3FAFYpf4y3SnzwHwAU5U/rnbR5qZ5iyAjx+hBjcocSIkYNJerWJ8V
rBZzDv2kc75JM875B8ZonTuNmfN1eTJP/2vSM7g9LzNS7Jurlle5cs2tf/k7ilJQ
+5Z6G/hl5UOFiA2JaorVdUHsdax7kecHUs9M0GnUDl4NRmfmEEsW0YVVXhf3OytW
ulfEjcTCmyexBPcThsIBVKolvfk8JZosiRr3Va8/gyXkVe5ZMOZcSbuPW6Jc7Rby
+7X012M0qSs8o6aE9mZ3nU6A/G5X8d2cOePGexU3s04QmRoq9qJ0jjFXKO9X1eSh
6YJitivKu4ivxEYs8iah
=XKet
-----END PGP SIGNATURE-----




More information about the vbox-dev mailing list