systemEnv

fun systemEnv(key: String): String?

Run System.getenv without throwing an exception, except CancellationException to cancel parent jobs.

Return

a String or null if the call failed or was empty.

Parameters

key

the system environment variable key you want to get.