pi_start_session
pi_start_sessionCreate a new processing session to organize PixInsight outputs into dedicated work, preview, and checkpoint directories. Sessions persist across restarts, so the latest session remains current.
Instructions
Create a new processing session (an output namespace under the workdir: work/, previews/, checkpoints/). Sessions persist across server restarts; the latest is current.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human label, e.g. target name | |
| target_dir | No | Directory of the object's lights; working files go to <target_dir>/working-files (workLayout 'target') |