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. $ bash --version GNU bash, version 4.3.42(4)-release (i686-pc-cygwin) Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ cmd Microsoft Windows [Version 6.3.9600] (c) 2013 Microsoft Corporation. All rights reserved. C:\cygwin\home\mytest>whoami whoami mytest C:\cygwin\home\mytest>dir dir Volume in drive C has no label. Volume Serial Number is 0EA8-F3D1 Directory of C:\cygwin\home\mytest 11/11/2015 09:31 AM <DIR> . 11/11/2015 09:31 AM <DIR> .. 11/05/2015 05:55 AM 6,054 .bashrc 11/11/2015 09:45 AM 2,401 .bash_history 11/05/2015 05:55 AM 1,494 .bash_profile -- 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