[Development] [Interest] Executing PowerShell command with quotes using QProcess
Joerg Bornemann
joerg.bornemann at digia.com
Thu Apr 3 11:36:38 CEST 2014
On 03-Apr-14 02:34, Sze Howe Koh wrote:
>> Nor on Windows's prompt:
>> C:\>echo """hello"""
>> """hello"""
Checking arguments with the echo shell built-in on Windows is not a good
idea. It behaves (not even) slightly different from real executables.
Create an executable that prints its arguments and you will find that
triple double-quotes (sextquotes? ;)) will print:
C:\>printAllArgs """hello"""
"hello"
Cheers,
Joerg
More information about the Development
mailing list