System viewer launching for show() functionality Handles platform-specific viewer launching and graphical session detection
Check if a graphical session is available Returns .true. if X11, Wayland, macOS GUI, or Windows GUI available
Launch system viewer for file Uses xdg-open on Linux, open on macOS, start on Windows
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename | |||
| logical, | intent(out) | :: | success | 
Generate unique temporary filename with proper platform handling
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | extension | |||
| character(len=*), | intent(out) | :: | filename | 
Remove temporary file (best effort, no error on failure)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename |