PtyConnector

constructor(process: PtyProcess, readBufferSize: Int = DEFAULT_READ_BUFFER_SIZE, readerThreadName: String = DEFAULT_READER_THREAD_NAME, watcherThreadName: String = DEFAULT_WATCHER_THREAD_NAME)

Creates a connector for a raw PTY4J process.

Parameters

process

raw native PTY process wrapper.

readBufferSize

stdout reader buffer size.

readerThreadName

thread name for reading process stdout.

watcherThreadName

thread name for waiting on process exit.