Changeset 33141 for trunk/pstamp/scripts/pstamp_job_run.pl
- Timestamp:
- Jan 24, 2012, 4:40:12 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_job_run.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_job_run.pl
r33126 r33141 306 306 # Load the argument list that dqueryparse should have created the first time it ran, so we know how to 307 307 # run it again the same way. 308 my $argslist = "$outputBase/parse.args"; 308 my $outdir = dirname($outputBase); 309 my $argslist = "$outdir/parse.args"; 309 310 open ARGSLIST, "<$argslist" or my_die("failed to open argslist file $argslist", $job_id, $PS_EXIT_UNKNOWN_ERROR); 310 311 my $argString = <ARGSLIST>; … … 319 320 $command .= " --dbserver $dbserver" if $dbserver; 320 321 $command .= " --verbose" if $verbose; 322 $command .= " --save-temps" if $save_temps; 321 323 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 322 324 run(command => $command, verbose => $verbose); … … 616 618 617 619 $exit_code = $PS_EXIT_PROG_ERROR unless $exit_code; 620 if ($exit_code > 100) { 621 carp ("invalid exit code: $exit_code changing to $PS_EXIT_UNKNOWN_ERROR"); 622 $exit_code = $PS_EXIT_UNKNOWN_ERROR; 623 } 618 624 $job_state = 'run' unless $job_state; 619 625
Note:
See TracChangeset
for help on using the changeset viewer.
