Skip to content

Destroy ASDF dialog window if the associated ds9 executable goes away #5

Description

@perrygreenfield

The current behavior is that the Python Tkinter-based ASDF dialog window remains even if one quits the ds9 instance that creates it. This potentially can cause confusion of ds9 is started again and a new dialog is created.

Since SAMP does not provide tools to easily identify which ds9 process created the dialog, it will be necessary for the creation of Python process to include an identifying means for locating the right ds9 instance (presumably the pid). And then periodically check the status of that pid while the Python process is otherwise idle; if the ds9 process disappears, then the Python process will kill the dialog and any other related windows and end its process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions