[Bug 46125] DOS input redirection attempts are not passed into DOSBox temporary config file

WineHQ Bugzilla wine-bugs at winehq.org
Tue Jan 19 06:48:00 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=46125

--- Comment #7 from Lantizia <s.maddox at lantizia.me.uk> ---
(In reply to Alexandre Julliard from comment #6)
> Without the quotes, cmd.exe handles the redirection and pipes the file into
> the standard input, just like on Windows. The issue is that DOSBox doesn't
> connect its standard input to the DOS app.

I see this as a potentially a valid argument had I not used quotes at all...
but I did (see original post).

Wine is choosing (as it's a 16-bit executable) to swap out 'cmd /c' for
DOSBox... but there is only really ONE argument after that (due to it being
quoted)... and that is the ENTIRETY of what is quoted.

So it's that entirety that should be written out to the DOSBox config file...
which Wine creates.  I've even show a Wine trace (see comment #1), showing Wine
iterate over the internal components of this argument... which it shouldn't
need to do, as it is quoted!

I'm sure on Windows XP (when double quotes are used) it doesn't do stdin to
cmd.exe but rather to zip.exe (as it's inside the quotes).

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list