delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/24/12:20:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <175601c15ca7$bbb88350$820314ac@fdvlegoll01>
From: "Vincent Legoll" <vlegoll AT apsydev DOT com>
To: <cygwin AT cygwin DOT com>
Cc: "Vincent Legoll" <vlegoll AT apsydev DOT com>
Subject: rsh and -n option vs < /dev/null redirection
Date: Wed, 24 Oct 2001 18:19:48 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

Hello all,

I'm using cygwin at work to run our build chain (bash + make + rsh +
etc...)

what I'm doing in a makefile under cygwin/win32 is something like this :

RemoteLoop:
    for host in linux win32 solaris; do \
      rsh -l build $$host 'make aTarget VAR1=VAL1' > aFile.txt 2>&1 & \
    done

I've fought a long time finding why I was receiving "broken pipe" error
messages
from remote makes. I read messages from your mailing list and begun to
suspect
a redirection problem from the rsh command, so I tried -n option with no
success
whereas redirecting rsh's input to /dev/null worked !!!
While reading rsh's man page, I thought "-n" or "< /dev/null" would do the
same,
but it appears not to be the case...

Does this scenario make any sense for you ?

Perhaps this should be a rsh bug report and not related to cygwin at all...
Could you CC me your replies since I'm not subscribed to this list, thanks.

--
Vincent Legoll - CM engineer - Peregrine Systems R&D France
vlegoll AT peregrine DOT com



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019