StdioServerParameters class

Configuration parameters for launching the stdio server process.

Constructors

StdioServerParameters.new({required String command, List<String> args = const [], Map<String, String>? environment, ProcessStartMode stderrMode = io.ProcessStartMode.inheritStdio, String? workingDirectory})
Creates parameters for launching the stdio server.
const

Properties

args List<String>
Command line arguments to pass to the executable.
final
command String
The executable command to run to start the server process.
final
environment Map<String, String>?
Environment variables to use when spawning the process. If null, a default restricted environment might be inherited (see getDefaultEnvironment).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stderrMode ProcessStartMode
How to handle the stderr stream of the child process. Defaults to io.ProcessStdio.inheritStdio, printing to the parent's stderr. Can be set to io.ProcessStdio.pipe to capture stderr via the stderr stream getter.
final
workingDirectory String?
The working directory to use when spawning the process. If null, inherits the current working directory.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited