Changeset 43052 for branches/eam_branches/ipp-pstamp-20260421/pstamp/scripts/detectability_respond.pl
- Timestamp:
- Jun 12, 2026, 2:47:49 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pstamp-20260421/pstamp/scripts/detectability_respond.pl
r33283 r43052 13 13 use File::Basename; 14 14 use File::Copy; 15 use IPC::Cmd 0.36 qw( can_run run);15 use IPC::Cmd 0.36 qw( can_run ); 16 16 use Getopt::Long qw( GetOptions ); 17 17 use Pod::Usage qw( pod2usage ); … … 20 20 use PS::IPP::PStamp::RequestFile qw( :standard ); 21 21 use PS::IPP::PStamp::Job qw( :standard ); 22 use PS::IPP::Config qw( :standard );22 use PS::IPP::Config qw( :standard ps_run ); 23 23 use PS::IPP::Metadata::List qw( parse_md_list ); 24 24 … … 108 108 my $dqr_command = "$detect_query_read --dbname $imagedb --input $request_file"; 109 109 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 110 run(command => $dqr_command, verbose => $verbose);110 ps_run(command => $dqr_command, verbose => $verbose); 111 111 unless ($success) { 112 112 # This is a problem, because I'm not sure how we handle a failure to read something. … … 433 433 my $command = "ppCoord -astrom $catalog -radec $coordname"; 434 434 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 435 run(command => $command, verbose => $verbose);435 ps_run(command => $command, verbose => $verbose); 436 436 unless ($success) { 437 437 my_die("Unable to perform $command. Error_code: $error_code", … … 473 473 474 474 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 475 run(command => $psphot_cmd, verbose => $verbose);475 ps_run(command => $psphot_cmd, verbose => $verbose); 476 476 unless ($success) { 477 477 $query{$fpa_id}{PROC_ERROR}[$index] = $PSTAMP_SYSTEM_ERROR; … … 828 828 829 829 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 830 run(command => $command, verbose => $verbose);830 ps_run(command => $command, verbose => $verbose); 831 831 unless ($success) { 832 832 my $rc = $error_code >> 8;
Note:
See TracChangeset
for help on using the changeset viewer.
