i need to create a pipe ..i was able to do dat and den i invoked system command and ran a system program ..it keeps on writing to the pipe..but i need a way to get back whats written on the pipe the code is smething like dis
use Win32::Pipe;
$Pipe = new Win32::Pipe( "pipe1")|| die "Can't Create Named Pipe\n";
$status3 = system ("cmd.exe /c $loc_deploy");
print("DONE WITH INSTALLATION");
$Pipe = new Win32::Pipe( "\\\\server\\pipe\\My Named Pipe" ) || die "Can't Connect To The Named Pipe\n";
$message = $Pipe->Read;
print"$message";
will dis work...writing is done by sytem command..does ny body know what to change here..$loc-deploy contains command that install patches..