This is the mail archive of the
mailing list for the Cygwin project.
Re: no output from net.exe
| Have you tried use tee? For example:
| $ net group /domain | tee group.txt
This didn't help because I wasn't getting anything on stdout to begin
with, and tee copies stdout to a file. So all i got was: nothing on
the screen, and a file of size 0, called group.txt.
But after setting the system (environment) variable CYGWIN to 'tty',
as suggested by Peter Buckley, both net.exe (on it's own), as well
as with a pipe to tee now work as expected.
Thanks for your input.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html