This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]