dependent

fun <T> dependent(windows: () -> T, unix: () -> T): T

Runs the given windows or unix function depending on the current operating system.

Return

the result of the function based on the OS