Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: clamps-start , Previous: clamps-gui-root , Up: C , Home: Overview

Clamps Dictionary

clamps-restart-gui

Function

(clamps-restart-gui &key (gui-base "/tmp") (open t) (port 54619))

Reset the root directory of the Gui to <gui-base>/www/, optionally opening the Gui in a browser window. The command will create the subdirectories www/, snd/, ats/ and www/svg/ in the <gui-base> directory, if they don't exist. <gui-base>/www/svg/ is the file path for svg files used in the svg-display page of the Gui.

Arguments

:gui-base String or Pathname where to put the www subfolder for files accessible by the gui (nicknamed <clamps-gui-root> throughout this dictionary). Defaults to /tmp.
:open is a flag indicating whether to open clamps-base-url in a browser window after starting the gui. Any files which need to be accessible by the Gui have to be put into the <clamps-gui-base>/www/ subdirectory with their filenames relative to this directory.

Author: Orm Finnendahl

Created: 2025-02-18 Di 12:58

Validate