Package: gio

Function gio:application-command-line-cwd

Lambda List

gio:application-command-line-cwd (cmdline)

Arguments

cmdline -- a g:application-command-line instance

Return Value

The string with the current directory, or nil.

Details

Gets the working directory of the command line invocation. The string may contain non UTF-8 data.

It is possible that the remote application did not send a working directory, so this may be nil.

Examples

(defvar cmd (make-instance 'g:application-command-line)) => CMD
(g:application-command-line-cwd cmd) => "/home/dieter/Lisp/lisp-projects"    
 

See also

2025-2-3