[Interest] [Development] Executing PowerShell command with quotes using QProcess

Koehne Kai Kai.Koehne at digia.com
Thu Apr 3 10:38:33 CEST 2014



> -----Original Message-----
> [...]
> it's not windows-only.
> the quoting mechanism is inspired by how *some* windows applications
> interpret quoting. but it is generally speaking just stupid.
> when i finally get to it, i want to deprecate this custom single-string mode in
> favor of accepting native shell command lines, as qt creator's QtcProcess
> does.

Just stumbled over

http://blogs.msdn.com/b/twistylittlepassagesallalike/archive/2011/04/23/everyone-quotes-arguments-the-wrong-way.aspx?Redirected=true

I guess it's at least a source of good test cases :)

Regards

Kai 



More information about the Interest mailing list