IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 12, 2026, 2:47:49 PM (5 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_revert_request.pl

    r42981 r43052  
    1010
    1111use Sys::Hostname;
    12 use IPC::Cmd 0.36 qw( can_run run );
     12use IPC::Cmd 0.36 qw( can_run );
    1313use File::Temp qw( tempfile );
    1414use File::Copy;
     
    2828                       metadataLookupBool
    2929                       caturi
     30                       ps_run
    3031                       );
    3132
     
    6869    $command   .= " -dbserver $dbserver" if $dbserver;
    6970    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    70         run(command => $command, verbose => $verbose);
     71        ps_run(command => $command, verbose => $verbose);
    7172    unless ($success) {
    7273        die("Unable to perform $command error code: $error_code");
     
    102103#    $command .= " --dbname $dbname" if $dbname;
    103104    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    104         run(command => $command, verbose => $verbose);
     105        ps_run(command => $command, verbose => $verbose);
    105106    unless ($success) {
    106107        die "Unable to perform $command error code: $error_code";
     
    114115    $command   .= " -dbserver $dbserver" if $dbserver;
    115116    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    116         run(command => $command, verbose => $verbose);
     117        ps_run(command => $command, verbose => $verbose);
    117118    unless ($success) {
    118119        die("Unable to perform $command error code: $error_code");
Note: See TracChangeset for help on using the changeset viewer.