- 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/pstamp_cleanup.pl
r42981 r43052 16 16 use POSIX qw( strftime ); 17 17 use Carp; 18 use IPC::Cmd 0.36 qw( can_run run);18 use IPC::Cmd 0.36 qw( can_run ); 19 19 20 20 use PS::IPP::Metadata::Config; … … 22 22 use PS::IPP::Metadata::List qw( parse_md_list ); 23 23 24 use PS::IPP::Config qw( :standard );24 use PS::IPP::Config qw( :standard ps_run ); 25 25 use PS::IPP::PStamp::Job qw( :standard ); 26 26 … … 91 91 92 92 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 93 run(command => $command, verbose => $verbose);93 ps_run(command => $command, verbose => $verbose); 94 94 unless ($success) { 95 95 my_die("Unable to perform $command error code: $error_code", $req_id, $PS_EXIT_UNKNOWN_ERROR); … … 102 102 $command .= " -dbserver $dbserver" if $dbserver; 103 103 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 104 run(command => $command, verbose => $verbose);104 ps_run(command => $command, verbose => $verbose); 105 105 unless ($success) { 106 106 die("Unable to perform $command error code: $error_code"); … … 136 136 my $command = "find $pstamp_workdir -maxdepth 2 -type d -name $req_id"; 137 137 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 138 run(command => $command, verbose => $verbose);138 ps_run(command => $command, verbose => $verbose); 139 139 unless ($success) { 140 140 my $rc = $error_code >> 8; … … 161 161 unless ($no_update) { 162 162 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 163 run(command => $command, verbose => $verbose);163 ps_run(command => $command, verbose => $verbose); 164 164 unless ($success) { 165 165 die("Unable to perform $command error code: $error_code"); … … 192 192 unless ($no_update) { 193 193 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 194 run(command => $command, verbose => $verbose);194 ps_run(command => $command, verbose => $verbose); 195 195 unless ($success) { 196 196 if (-e $dir) { … … 219 219 unless ($no_update) { 220 220 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 221 run(command => $command, verbose => $verbose);221 ps_run(command => $command, verbose => $verbose); 222 222 unless ($success) { 223 223 die("Unable to perform $command error code: $error_code");
Note:
See TracChangeset
for help on using the changeset viewer.
