[Bug 23596] stderr not displaying when invoking native linux commands from cmd.exe

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 13 15:30:17 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=23596


Eric Pouech <eric.pouech at orange.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric.pouech at orange.fr
          Component|programs                    |cmd




--- Comment #4 from Eric Pouech <eric.pouech at orange.fr>  2010-07-13 15:30:17 ---
absolutely not!!!! it's not a console bug

using "/bin/grep -v" just works fine here and gets a nice output:
Z:\home\eric\work\output-wine\wine64>Usage: /bin/grep [OPTION]... MOTIF
[FICHIER]...
Pour en savoir davantage, faites: « /bin/grep --help ».

It's a bug in cmd parsing which gets confused by a command

In order to test, commenting out
    if (!(*param1) && !(*param2))
      return;
in programs/cmd/wcmdmain.c, WCMD_run_program() makes things work as expected

But I'd rather think WCMD_parse_cmd is to blame (and confuses /bin/grep as both
the program name and the first option)

hence changing component in bugzilla

A+

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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