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