| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Tue, 28 Sep 2004 11:57:09 +0200 |
| From: | Christophe DOT Delarue AT reuters DOT com |
| Subject: | Stdout of other shell than cygwin's through xinetd |
| To: | Cygwin List <cygwin AT cygwin DOT com> |
| Message-id: | <T6c500a8d66840a1e3aa98@ritig7.amers.ime.reuters.com> |
| MIME-version: | 1.0 |
| X-IsSubscribed: | yes |
I've installed xinetd cygwin, in c:/cygwin/root, and execute it with /usr/sbin/xinetd -d to see the log on the screen
If I use the cygwin tools, I've got result on the command I use :
chrdelar AT ptxw09247:?:FA_26 /home/chrdelar> rsh ptxw09112 "/cygdrive/c/cygwin/root/bin/sh -c pwd"
/cygdrive/u
chrdelar AT ptxw09247:?:FA_26 /home/chrdelar>
But If I use other tools like mingw :
chrdelar AT ptxw09247:?:FA_26 /home/chrdelar> rsh ptxw09112 "/cygdrive/c/msys/1.0/bin/sh -c pwd"
chrdelar AT ptxw09247:?:FA_26 /home/chrdelar>
No echo/result of pwd appears.
If I try with rlogin :
chrdelar AT ptxw09247:?:FA_26 /home/chrdelar> rlogin ptxw09112
chrdelar AT ptxw09112 ~
$ /cygdrive/c/msys/1.0/bin/sh.exe -c "pwd"
/u
$
I've got the result
Why did I not get my pwd answer on the rsh example ?
How to connect the stdout of msys (on other sh like tools) to stdout of rsh ?
Is this the same pb as getting the output of a cmd.exe prog, where I've read nothing is possible to get the output ?
Any workaround ?
I need the command to be executed in a non cygwin shell, to be compliant with a compilation process.
Thanks
-----------------------------------------------------------------
Visit our Internet site at http://www.reuters.com
Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Reuters Ltd.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |