Added ability to flush process output streams
This commit is contained in:
parent
1832fe5eaf
commit
1faac35ec3
|
@ -475,6 +475,13 @@ class DeferredProcessResult internal constructor(private val process: Process,
|
|||
process.outputStream.flush()
|
||||
}
|
||||
|
||||
/**
|
||||
* Flushes the output stream to the process.
|
||||
*/
|
||||
fun flush() {
|
||||
process.outputStream.flush()
|
||||
}
|
||||
|
||||
/**
|
||||
* Cancel waiting for this process to complete
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue