This module provides predicates to open documents with the user's preferred external applications. It is based on external commands typically provided by each operating system (e.g., xdg-open (Linux), cygstart (Windows), open (macOS)).
Usage:opendoc(Target)
Opens Target (a file or URL) with the user's preferred application
Usage:opendoc(Target,Opts)
Opens Target (a file or URL) with the user's preferred application. Opts is a subset of [generic, in_emacs] (generic is the default)