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

2014-04-03 Thread Thiago Macieira
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

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

2014-04-03 Thread Oswald Buddenhagen
On Thu, Apr 03, 2014 at 01:28:02PM +0300, Damian Ivanov wrote: > one could use "cmd /c echo hello" at least I do so, or this somehow bad? > it's a double-fail, because in addition to the weird echo behavior, you also have the even more weird cmd behavior (which can be modified further with the /s

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

2014-04-03 Thread Koehne Kai
> -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 accep

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

2014-04-03 Thread Oswald Buddenhagen
On Thu, Apr 03, 2014 at 08:34:20AM +0800, Sze Howe Koh wrote: > On 3 April 2014 06:23, Thiago Macieira wrote: > > Nor on Windows's prompt: > > C:\>echo """hello""" > > """hello""" > > > > That commit has been there since the Qt public history started. It's even > > documented as such (I had to loo