Running wxCLIPS
You can run wxCLIPS with or without command line arguments.
The command line arguments are as follows:
- -clips file: Specifies a CLIPS file to batch on startup.
- -load file: Specifies a CLIPS file to load on startup. The file should contain
constructs only, unlike -clips which can execute constructs. -load is much faster.
- -start Specifies that wxCLIPS should hide the development window and
call the function app-on-init on startup.
- -dir directory: Specifies a directory to change to on startup.
- -h : Returns help on command line arguments (under UNIX only).
In addition, if you supply a CLIPS file as the first argument to wxCLIPS
without any switches, wxCLIPS will batch the file, change to that directory, and call app-on-init.
This way you can have a wxCLIPS association for .clp and simply run the file.
See also Packaging your application.