Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.1.0.14.2.20020118100433.00b277a0@mail.biapo.com> X-Sender: biapo7 AT mail DOT biapo DOT com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 18 Jan 2002 10:08:55 -0500 To: cygwin AT cygwin DOT com From: rotaiv Subject: Re: no output from net.exe In-Reply-To: <20020117130429.C17402@cs.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Just as an FYI, I am unable to duplicate this problem. I used my Windows 2000 laptop to ssh to my NT 4 SP6a server and I was able to execute the following command from a bash prompt just fine: $ net group /domain > group.txt I used ssh from the cmd.exe prompt and I used puTTY - each time the output was redirected to the file. Have you tried use tee? For example: $ net group /domain | tee group.txt Is there a specific command or situation where this does not work? If so, let me know and I'll try again. rotaiv. At 01/17/2002 01:04 PM, Alex BATKO wrote: >When I am logged into my windows machine via ssh, I cannot redirect >the output of the command net.exe into a file, nor capture the output >in an array (within a perl script). > >On the other hand, executing `net.exe group >> zzz` from the cygwin >bash shell, and from windows' command.com, works just as expected. > >I have written to this list in the past (regarding this topic), but >the response I was given is that this is a "feature" of the program >net.exe (http://cygwin.com/ml/cygwin/2001-10/msg01490.html), and to >overcome this problem, I should start my ssh session via inetd, after >applying a particular patch: >http://sources.redhat.com/ml/cygwin/2001-03/msg00764.html > >I have started ssh via inted, but it's incredibly slow to establish >connections - so I have opted against it. > >I am wondering if anyone else has ran into this problem, and was able >to overcome it in a way other then by starting ssh from inetd. > >Thank you for your time. > >-- >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/ -- 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/