www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/07/05:14:10

Date: Thu, 7 Dec 2000 12:05:59 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: popen hanging eventually
In-Reply-To: <90lmag$b9b$1@nnrp1.deja.com>
Message-ID: <Pine.SUN.3.91.1001207120524.26453A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 6 Dec 2000 vonbane AT my-deja DOT com wrote:

> pclose returns 4 on every loop after the first one that hangs like this
> as well

We are getting somewhere.  When pclose returns a positive number, it
is the exit status of the child program.  So you need to understand
what does exit status 4 of rsh means; I'd expect that to be explained
in the rsh docs.

Since rsh is a kind of shell, it might be possible that 4 is coming
from dd on the remote machine, so dd's docs might also prove useful.

- Raw text -


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