I don't know about RPC, but I usually use this syntax
when calling an external command:

system($cmd) == 0 or die "system @args failed: $?"

perldoc -f system


--- "vega, james" <[EMAIL PROTECTED]> wrote:

> I'm having a couple interesting issues with
> backticked commands performed
> via RPC[1] calls to another host.  The first problem
> is that we will
> sporadically not get back the STDOUT from the
> process.  The second problem
> is that, after a certain point, we will stop getting
> back proper return
> codes.  It will just return -1.  This seems to occur
> after we've fork()ed
> and then called a Perl script from within the fork
> (problems with reentrant
> libraries?).  Both of these have occurred with Perl
> 5.8.x.  These problems
> have been seen on HPUX, AIX, and Suse.  This has
> never occurred on any of
> the Windows hosts that I've used.  Thanks in advance
> for any help.  This has
> been a real mind boggler.
> 
> James
> 
> [1]. The RPC service I'm using is the example
> service given in Chapter 13 of
> Advanced Perl Programming.
> > _______________________________________________
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe:
http://listserv.ActiveState.com/mailman/mysubs


=====
Anthony Ettinger
Phone: (408) 656-2473
[EMAIL PROTECTED]
http://www.apwebdesign.com


                
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to