wait

abstract fun wait(): Int

Wait

Non-standard method which waits for process exit.