Networker

Re: [Networker] capture recover command output

2008-10-30 06:38:27
Subject: Re: [Networker] capture recover command output
From: Davina Treiber <Davina.Treiber AT PEEVRO.CO DOT UK>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 30 Oct 2008 10:36:04 +0000
Will Aymond wrote:
> I'm not sure how you implemented this.. Some code would help clear things up..
> 
> But if you used perl's open with a pipe for recover, the open command can 
> only do either input or output, not both simultaneously.
> 
> i.e. as much as we'd like this to work:
> 
> $pid = open(HANDLE, "|cmd args|");
> 
> it doesn't work as you would hope.

That's not a problem if you are running the recover command in a
non-interactive mode, i.e. all the params are supplied on the command line.

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER