open fun write(data: String): Pty
Write data to the slave standard input of the pseudo terminal.
data - the data to write
data
Return this current object