Re: XML-RPC VMware

2007-08-07 Thread Chas Owens
On 8/7/07, vishnu <[EMAIL PROTECTED]> wrote: > This is my main file (5.8 version) > > my $pid = open( WRITE, "| ./sample.pl arglist" ); > WRITE->autoflush(1); > print $pid,"\n"; > waitpid( $pid,0 ); > > this is my child process:(sample.pl ) > #!/usr/bin/perl -w > my @arg = @ARGV; > my $length = @AR

Re: XML-RPC VMware

2007-08-07 Thread vishnu
This is my main file (5.8 version) my $pid = open( WRITE, "| ./sample.pl arglist" ); WRITE->autoflush(1); print $pid,"\n"; waitpid( $pid,0 ); this is my child process:(sample.pl) #!/usr/bin/perl -w my @arg = @ARGV; my $length = @ARGV; print ".. @arg\n"; print "Child Pid $$ ju

Re: XML-RPC VMware

2007-08-07 Thread vishnu
I have a lot of work that needs to be dont in vmware, so i thought i'll keep that file separate(5.005) and have another file for XML-RPC(5.8.) as u said. i forked and execed and loaded vmware into child process. no how do i use pipes for communication, (pipe File Descriptor becomes invalid) or can

Re: XML-RPC VMware

2007-08-06 Thread Chas Owens
On 8/6/07, vishnu <[EMAIL PROTECTED]> wrote: > hi, > VMware while starting uses an exec call to execute its own version of > perl (5.005), But i need to use XML-RPC which does not come with VMware. > When i try to import or use XML-RPC like (require RPC::XML;) i got an error > saying the .pm fi

XML-RPC VMware

2007-08-06 Thread vishnu
hi, VMware while starting uses an exec call to execute its own version of perl (5.005), But i need to use XML-RPC which does not come with VMware. When i try to import or use XML-RPC like (require RPC::XML;) i got an error saying the .pm file was missing.. so i went and added default @INC while