Display current value of a single environment variable

KM Process Environment (Keys and Values) as JSON.kmmacros (3.3 KB)


Expand disclosure triangle to view JS source
return JSON.stringify(
    ObjC.deepUnwrap(
        $.NSProcessInfo.processInfo.environment
    ),
    null, 2
);
1 Like