system cmdarg - part-cw/lambdanative GitHub Wiki

(system-cmdarg)

Returns the first command line argument on Linux, Windows and Mac OS X, #f if none is available.

Example

../DemoConsole.app/DemoConsole arg1
DemoConsole
> (system-cmdarg)
"arg1"

../DemoConsole.app/DemoConsole
DemoConsole
> (system-cmdarg)
#f