OsProcessStdioSpec
This is an internal class used for configuration of standard I/O streams when creating OsVastSubprocess instances.
Class Methods
None
Instance Methods
autoFill
Answer the autoFill setting for stdout, stderr.
@see autoFill: for more detail.
Answers:
<Boolean>
autoFill:
If autoFill is set to true, then stdout, stderr buffers of the
subprocess will be filled after certain events, such as flushing
stdin.
Answers:
<Boolean> aBoolean
autoFlush
Answer the autoFlush setting for stdin.
@see autoFlush: for more detail.
Answers:
<Boolean>
autoFlush:
If autoFlush is set to true, then data will be flushed
out to the stdin of the subprocess after every write.
Depending on the api used, this 'write' can be a single
char/byte or a large chunk of data.
Answers:
<Boolean> aBoolean
bufferSize
Answer the buffer size to use for the stdio stream.
This will be nil if not set whic means to use the default
Answers:
<Integer>
bufferSize:
Set the buffer size to use for the stdio stream
Arguments:
aSize - <Integer>
filePath
Answer the current code-page converted filePath
Answers:
<String>
flags
Answer the integer flags.
DEFAULT: RedirectToPipe
Answers:
<Integer>
inherit
This stdio stream should inherit from VAST
isFileAppend
Answer true if the flag for putting the output file into
atomic append mode is marked
Answers:
<Boolean>
isInherit
Answer true if this stdio stream should inherit from VAST, false otherwise
Answers:
<Boolean>
isRedirectToFile
Answer true if this stdio stream should be redirected to a file
Answers:
<Boolean>
isRedirectToNull
Answer true if this stdio stream should be redirected to the special null 'bucket'
Answers:
<Boolean>
isRedirectToOutput
Answer true if this stdio stream should be redirected to the destination of the
stdout stream
Answers:
<Boolean>
isRedirectToPipe
Answer true if this stdio stream should be redirected a pipe that
leads back into VAST to be streamed
Answers:
<Boolean>
redirectToFile:
Mark the stdio to be redirected to @aFilePath.
The file should be in append mode if @append
is true
Arguments:
aFilePath - <String>
redirectToFile:append:
Mark the stdio to be redirected to @aFilePath.
The file should be in append mode if @append
is true
Arguments:
aFilePath - <String>
append - <Boolean>
redirectToNull
Mark the stdio to be redirected to the operating
system specific NULL bucket so that data is discarded
redirectToOutput
Mark the stdio to be redirected to the destination of
stdout
redirectToPipe
Mark the stdio to be redirected to a pipe
that is connected to VAST and accessible
with an OsPipeStream
redirectToPipe:
Mark the stdio to be redirected to a pipe
(with descriptor @aPipeDescriptor) that is
connected to VAST and accessible with an OsPipeStream
Last modified date: 02/23/2021