| 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://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| Reply-To: | Cygwin List <cygwin AT cygwin DOT com> |
| Message-Id: | <6.0.1.1.0.20040109115429.037d5a50@127.0.0.1> |
| X-Sender: | |
| Date: | Fri, 09 Jan 2004 11:55:43 -0500 |
| To: | David Reid <davidareid AT yahoo DOT com>, cygwin AT cygwin DOT com |
| From: | Larry Hall <cygwin-lh AT cygwin DOT com> |
| Subject: | Re: rshd and stdout |
| In-Reply-To: | <20040109165337.95809.qmail@web60210.mail.yahoo.com> |
| References: | <20040109165337 DOT 95809 DOT qmail AT web60210 DOT mail DOT yahoo DOT com> |
| Mime-Version: | 1.0 |
At 11:53 AM 1/9/2004, David Reid you wrote:
>I'm using rsh to run a command on a remote machine.
>But I only get output back from stderr, not from
>stdout. Here is my sample program and the output:
>
> main() {
> fprintf(stdout, "stdout\n");
> fprintf(stderr, "stderr\n");
> }
>
> $ rsh machine1 ./main
> stderr
>
>How can I get stdout back to the rsh client?
>
>Note: cygwin rshd is running on a windows box, rsh can
>
>be on windows or linux, the result is the same.
>It works as I would expect when using the linux rshd
>on a linux box (it prints stdout and stderr)
Make sure you're running Cygwin's rsh first. Also, visit:
>Problem reports: http://cygwin.com/problems.html
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
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 |