Command echo
Buchbinder, Barry (NIH/NIAID) [E]
BBuchbinder@niaid.nih.gov
Mon Nov 16 16:40:00 GMT 2015
Gluszczak, Glenn sent the following at Monday, November 16, 2015 11:16 AM
>
>When I shell to cmd.exe, the commands I execute are echoed (not sure if
>stdout or stderr). This doesn't happen under native cmd.exe. Is there a
>variable that controls this? I only have CYGWIN=nodosfilewarning
>
>Notice the commands "dir" and "whoami" are emitted to the output.
cmd.exe is in control of its own echoing. Try starting as cmd /q
cmd /?
...
/Q Turns echo off
...
As to why cmd behaves differently when started under bash (even in a
non-mintty window) than when started directly or under cmd ....
Hope that helps.
- Barry
Disclaimer: Statements made herein are not made on behalf of NIAID.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list