https://bugs.winehq.org/show_bug.cgi?id=49457
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 67558 --> https://bugs.winehq.org/attachment.cgi?id=67558 test executable, should output major and minor version of powershell (e.g. 2 0 )
(In reply to Alexandre Julliard from comment #1)
If you call it directly from the Unix shell, you need to escape shell metacharacters. There's nothing Wine can do about this.
Ah I see, thanks for info. I was trying to find out why Waves Central installer was failing and thought this might be possible reason, but indeed this is not the cause for failing installer.
For info , mainly for myself ;) I attach simple test program that does what Waves Central does, this executable does
CreateProcessW(NULL, L"cmd.exe /d /s /c powershell.exe Write-Host $PSVersionTable.PSVersion.Major $PSVersionTable.PSVersion.Minor";, NULL, NULL, FALSE, 0, NULL, NULL, &stinf, &info))
and it works fine once I install powershell
I think installer fails for other reason, I`ll just open new bugreport for that
Sorry for the noise
Regards