FunctionPackage: windowsToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

set-default-command-line-arguments

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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version