Hi, I get Inappropriate blocking method call (`Blo...
# coroutines
m
Hi, I get Inappropriate blocking method call (
BlockingMethodInNonBlockingContext
) on the
exec()
call in this code, but this is a false positive, right? Since I run with
<http://Dispatchers.IO|Dispatchers.IO>
I don’t see how the code would be problematic:
Copy code
suspend fun String.test() = withContext(<http://Dispatchers.IO|Dispatchers.IO>) {
    Runtime.getRuntime().exec(this@test)
}
o
I'm surprised that intellij even marks that like that, it looks fine. there's probably a related bug on youtrack