chez-libs

(system uishell)
Login

User Interface Shell

Synopsis

(import (system uishell))

Launch files using the system default application, or reveal files in the system file manager.

Operations

parameter: current-window

The default native window handle to use as the parent window for launched files.

procedure: (launch path parent-window)

procedure: (launch path)

Launch the file at the given path using the default application. Unles an explicit parent window is specified, use the value of (current-window), if any.

procedure: (reveal path)

Reveal the file at the given path in the default file manager.