IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 12, 2026, 2:47:49 PM (7 weeks ago)
Author:
eugene
Message:

convert the IPC::Cmd run calls to ps_run to handle inconsistent behavior between IPC:Cmd versions pre- and post-0.40

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/pstamp/scripts/pstamp_insert_request.pl

    r42981 r43052  
    3333    if( !defined($tmp_req_file) or !defined($workdir) or !defined ($dbname)
    3434        or !defined($dbserver));
    35 use IPC::Cmd 0.36 qw( can_run run );
     35use IPC::Cmd 0.36 qw( can_run );
    3636
    37 use PS::IPP::Config qw( :standard );
     37use PS::IPP::Config qw( :standard ps_run );
    3838
    3939use Cwd;
     
    6060    my $command = "$fhead -x 0 $tmp_req_file";
    6161    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    62         run(command => $command, verbose => $verbose);
     62        ps_run(command => $command, verbose => $verbose);
    6363    unless ($success) {
    6464        print STDERR @$stderr_buf;
     
    147147    $command .= " -label WEB.UP";
    148148    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    149         run(command => $command, verbose => $verbose);
     149        ps_run(command => $command, verbose => $verbose);
    150150    unless ($success) {
    151151        my $errbuf = join "", @$stderr_buf;
     
    172172    $command .= " -dbserver $dbserver" if $dbserver;
    173173    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    174         run(command => $command, verbose => $verbose);
     174        ps_run(command => $command, verbose => $verbose);
    175175    unless ($success) {
    176176        my $status = $error_code >> 8;
Note: See TracChangeset for help on using the changeset viewer.