systemProperty

Run System.getProperty 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 property key you want to get.


fun systemProperty(key: String, value: String): String?

Run System.setProperty 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 property key you want to set.

value

the value you want to set for the system property key.