Package: gio

Function g-application-command-line-cwd

Lambda List

g-application-command-line-cwd (cmdline)

Arguments

cmdline -- a g-application-command-line object

Return Value

A 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.

Example

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

See also

2021-8-3