Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: tom.hoffmann@worldnet.att.net (Tom Hoffmann)
Subject: Re: Perl Script hangs in background
Date: Thu, 28 Dec 2000 02:57:11 GMT	[thread overview]
Message-ID: <slrn94laq4.n8.tom.hoffmann@localhost.localdomain> (raw)
In-Reply-To: 3A4A5B5E.D1CA085E@NO.excite.SPAM.com

On Wed, 27 Dec 2000 21:08:55 GMT, WB3KUM/9 <breedend@NO.excite.SPAM.com> wrote:
>We have a Perl script that runs a remote shell to check for the
>existence of a file on a remote system.  When run in the foreground it
>is fine.  When run in the background (i.e. nohup, nohup with &, &, an
>"atjob", or a cronjob) in hangs and never completes.

IIRC, this is a rsh issue, not a perl issue. Specifically, if no input
is desired you should redirect the input of rsh to /dev/null using the
-n option. See 'man rsh'.


      reply	other threads:[~2000-12-28  2:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-27 21:08 Perl Script hangs in background WB3KUM/9
2000-12-28  2:57 ` Tom Hoffmann [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox