IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14138


Ignore:
Timestamp:
Jul 11, 2007, 11:13:08 AM (19 years ago)
Author:
Paul Price
Message:

Need to register the new exposure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/ipp_serial_inject_mosaic.pl

    r14136 r14138  
    130130    }
    131131
     132    # Update the exposure to run
     133    {
     134        my $command = "$pxinject -updatenewExp -exp_id $exp_id -state run"; # Command to run
     135        $command .= " -dbname $dbname" if defined ($dbname);
     136
     137        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     138            run( command => $command, verbose => 1 );
     139        die "Unable to activate $exp_name: $error_code\n" if not $success;
     140    }
     141
    132142}
    133143
Note: See TracChangeset for help on using the changeset viewer.