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/request_finish.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;
     
    1919use PS::IPP::Metadata::List qw( parse_md_list );
    2020
    21 use PS::IPP::Config qw( :standard );
     21use PS::IPP::Config qw( :standard ps_run );
    2222use PS::IPP::PStamp::RequestFile qw( :standard );
    2323
     
    9191    $command   .= " --save-temps" if $save_temps;
    9292    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    93         run(command => $command, verbose => $verbose);
     93        ps_run(command => $command, verbose => $verbose);
    9494    unless ($success) {
    9595        die("Unable to perform $command error code: $error_code");
     
    103103    $command   .= " -dbserver $dbserver" if $dbserver;
    104104    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    105         run(command => $command, verbose => $verbose);
     105        ps_run(command => $command, verbose => $verbose);
    106106    unless ($success) {
    107107        die("Unable to perform $command error code: $error_code");
Note: See TracChangeset for help on using the changeset viewer.