Daniel Cordell
08/08/2018, 11:26 AM/dev/null
or NUL
? Something like python's os.devnull.hho
08/08/2018, 11:47 AMhho
08/08/2018, 11:54 AMval File.nullDevice: File
get() {
val isWindows = System.getProperty("os.name").startsWith("Windows", true)
return File(if (isWindows) "NUL" else "/dev/null")
}
hho
08/08/2018, 11:55 AMDaniel Cordell
08/08/2018, 1:42 PM