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

Thiago Macieira thiago.macieira at intel.com
Thu Apr 3 18:04:40 CEST 2014


Em qui 03 abr 2014, às 10:12:27, Oswald Buddenhagen escreveu:
> 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.

Single-string mode is useful on Windows where the command-line is passed to 
the OS in a single string as well.

Of course, we break it up and re-create the string in QProcess, instead of 
just passing it along.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list