in reply to Display or link a file

prince26121991:

You could always make one of the resident programs on your system do the display, something like:

sub help_button_handler { if (! fork()) { system("/usr/bin/ghostscript", $path_to_help_file); } }

Note: I don't use the Tk module, so forking may not be the best method to spawn off a process to display the PDF file, but there will be some equivalent technique if this is the wrong one.

...roboticus

When your only tool is a hammer, all problems look like your thumb.