jpavel has asked for the wisdom of the Perl Monks concerning the following question:
And the IPC::Run incantation:my $file = "\0" . " " x 256; $scpfile->Text(GUI::GetOpenFileName(-title=>'SCP',-file=>"\0" . " " x +256,-filter => [ "All files", "*.*" ]));
Is there a conflict in these packages, or am I doing something foolish (besides poorly written code!)??my $host = $reds->GetString($reds->SelectedItem()); my @cmd = ( "pscp", "-pw", $redpass->Text(), Win32::GetShortPathName($ +scpfile->Text()), $userid.'@'.$host.':'.$redscp->Text() ) ; my ($in, $out, $err); my $h = start \@cmd, \$in, \$out, \$err, debug => 2; while ($out !~ /100/) {print $out;pump $h;} finish $h or die "returned $?";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IPC::Run and Win32::Process::Create
by jpavel (Sexton) on Jul 09, 2004 at 17:44 UTC | |
by BrowserUk (Patriarch) on Jul 09, 2004 at 18:23 UTC | |
|
Re: IPC::Run and Win32::Process::Create
by BrowserUk (Patriarch) on Jul 09, 2004 at 17:04 UTC | |
by jpavel (Sexton) on Jul 09, 2004 at 17:23 UTC | |
by BrowserUk (Patriarch) on Jul 09, 2004 at 17:55 UTC |