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/psgetcalibinfo

    r42983 r43052  
    1010use Carp;
    1111
    12 use IPC::Cmd 0.36 qw( can_run run );
     12use IPC::Cmd 0.36 qw( can_run );
    1313#use File::Temp qw( tempfile );
    1414#use 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 );
    2222#use PS::IPP::PStamp::RequestFile qw( :standard );
    2323#use PS::IPP::PStamp::Job qw( :standard );
     
    5555    $command   .= " -dbname $dbname" if $dbname;
    5656    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    57         run(command => $command, verbose => $verbose);
     57        ps_run(command => $command, verbose => $verbose);
    5858    unless ($success) {
    5959        die("Unable to perform $command error code: $error_code");
Note: See TracChangeset for help on using the changeset viewer.