Skip to content

__program_invocation_name__

builtin · libnexusinterp/nx-application.cc

: val = __program_invocation_name__ ()

Return the command used to start the current session, exactly as it was given on the command line.

This is the first element of the system argument vector, so it keeps any leading directory components that were present in the invocation.