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_webrequest.pl

    r43048 r43052  
    4646
    4747
    48 use IPC::Cmd 0.36 qw( can_run run );
     48use IPC::Cmd 0.36 qw( can_run );
    4949
    5050use PS::IPP::Config qw($PS_EXIT_SUCCESS
     
    5858                       metadataLookupBool
    5959                       caturi
     60                       ps_run
    6061                       );
    6162
     
    102103
    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        print STDERR @$stderr_buf;
     
    120121    $command .= " -dbserver $dbserver" if $dbserver;
    121122    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    122         run(command => $command, verbose => $verbose);
     123        ps_run(command => $command, verbose => $verbose);
    123124    unless ($success) {
    124125        print STDERR @$stderr_buf;
     
    140141    $command .= " -dbserver $dbserver" if $dbserver;
    141142    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    142         run(command => $command, verbose => $verbose);
     143        ps_run(command => $command, verbose => $verbose);
    143144    unless ($success) {
    144145        print STDERR @$stderr_buf;
Note: See TracChangeset for help on using the changeset viewer.