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/dquery_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;
     
    2020use PS::IPP::Metadata::List qw( parse_md_list );
    2121
    22 use PS::IPP::Config qw( :standard );
     22use PS::IPP::Config qw( :standard ps_run );
    2323
    2424my ( $req_id, $req_name, $req_file, $product, $outdir, $dbname, $dbserver, $verbose, $save_temps );
     
    9595    $command .= " -dbserver $dbserver" if $dbserver;
    9696    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    97         run(command => $command, verbose => $verbose);
     97        ps_run(command => $command, verbose => $verbose);
    9898    unless ($success) {
    9999        die("Unable to perform $command error code: $error_code");
     
    160160
    161161    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    162         run(command => $command, verbose => $verbose);
     162        ps_run(command => $command, verbose => $verbose);
    163163    unless ($success) {
    164164        $request_fault = $error_code >> 8;
     
    388388    $command   .= " -dbserver $dbserver" if $dbserver;
    389389    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    390         run(command => $command, verbose => $verbose);
     390        ps_run(command => $command, verbose => $verbose);
    391391    unless ($success) {
    392392        die("Unable to perform $command error code: $error_code");
Note: See TracChangeset for help on using the changeset viewer.