6.1.2 Using Different Command-Lines

In Context Creation, we saw that a context object describes a particular instance of your application, most notably depending on the actual command-line the end-user provided. It turns out, however that the command-line doesn’t need to be the actual program’s command-line, as the user typed it. Any list of strings can act as a command-line.

The function make-context has a :cmdline key that allows you to provide any list of strings that will act as the command-line. Of course, the default is to use the actual program’s one.