Variable

Gjsgjs/systemprogramInvocationNameConst

programInvocationName: string

This property contains the name of the script as it was invoked from the command line. In C and other languages, this information is contained in the first element of the platform's equivalent of argv, but GJS's ARGV only contains the subsequent command-line arguments. In other words, ARGV[0] in GJS is the same as argv[1] in C.

1.68