List of commands that were used to construct this
NuProcessBuilder.force is false, the process will be terminated
gracefully (i.e.NuProcess.writeStdin(java.nio.ByteBuffer).NuProcessHandler which decodes stdin,
stdout, and stderr bytes to and from Java UTF-16 string data using a
Charset or separate CharsetDecoder and CharsetEncoders.NuProcessHandler with default methods
that can be overridden.onStdout(ByteBuffer, boolean) or
onStderr(ByteBuffer, boolean) which handles decoding
of stdout or stderr bytes to Java UTF-16 string data.Charset to decode output
data.CharsetDecoders to
decode output data.NuCharsetDecoder with decoded string data.onStdinReady(ByteBuffer) which
handles encoding of stdin bytes to Java UTF-16 string data.Charset to encode input
data.CharsetEncoder to encode input
data.NuCharsetEncoder with decoded string data.NuProcessBuilder.start() method creates a native process and
returns an instance of a platform-specific implementation of
NuProcess that can be used to control the process and obtain
information about it.NuProcessHandler
and operating system program and arguments.NuProcessHandler
and operating system program and arguments.NuProcess must provide an implementation of this class
to the ProcessBuilder prior to calling ProcessBuilder.start()
.NuCharsetEncoderHandler.onStdinReady(CharBuffer)
returns if encoding the CharBuffer to bytes fails.onStdout(ByteBuffer, boolean)
or onStderr(ByteBuffer, boolean) which decodes
output data and forwards it to handler.ProcessBuilder.start()
method.ProcessBuilder.start()
method.ProcessBuilder.start()
method.ProcessBuilder.start()
method.ProcessBuilder.start()
method.ProcessBuilder.start()
method.NuProcess.wantWrite().onStdinReady(ByteBuffer) which
calls handler with a string buffer then encodes it to bytes and
feeds it to the process's stdin.NuProcess.wantWrite().NuProcess.wantWrite().NuProcess.wantWrite().Path to which the current working directory (cwd) of the
subsequent launch of a NuProcess will be set when calling the
NuProcessBuilder.start() method.NuProcess instance.NuProcessHandler instance that will be used for the next
and subsequent launch of a NuProcess when calling the
NuProcessBuilder.start() method.NuProcessHandler.NuProcess.wantWrite() and performing the write in a callback.Copyright © 2015 Zaxxer.com. All rights reserved.