| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |
Arguments: exe option-strings
exe should be a pathname or string which
represents the executable image program for which you want to change
the default command line arguments. By default we mean the
command line arguments are not given in an actual call to the program,
but the program behaves as if they were given.
option-strings is a list of strings representing
command line arguments, such as '("+m" "+R")
. For
example:
(win:set-default-command-line-arguments "foo.exe" '("-I" "bar.dxl"))
would cause foo.exe to load bar.dxl instead of foo.dxl upon startup.
(win:set-default-command-line-arguments "foo.exe" '("+B" "+cn"))
would cause foo.exe to start without a splash screen and to not grab the focus on startup.
A typical use of this function is to call it on the executable created with generate-application:
(generate-application "foo" "foo/" ...) #+windows (win:set-default-command-line-arguments "foo/foo.exe" '("+B" ...))
See Command line arguments in startup.htm for a list of command-line arguments accepted by Allegro CL.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |