On Thu Dec 1 15:22:03 2022 +0000, Michel Zou wrote:
@eric the problem in cmd I mentioned was a syntax error about the quotes, else `wine cmd /C "python -c print(4)"` works fine, so does redirecting to a file what did you mean by failing when running in shell console ? if its unrelated to GetFileInformationByHandle it could be treated separately from this MR
by shell console I mean the mode where wine is using unix's shell console as input / output handles for the running wine program their file type is FILE_TYPE_DISK (as mapped to a unix fd) unlike 'real' console handles (which type is FILE_TYPE_CHAR)
running 'wine foo.exe' from unix shell command line will use shell console running 'wine wineconsole foo.exe' from unix shell will run foo.exe with fully pledged console handles
HTH