CmdShellDialect class

Windows cmd.exe — the degraded last resort. cmd /Q disables command echo; initLine shrinks the prompt to >. The marker reports only the working directory (%CD%): git branch/status and privilege are omitted, since cmd cannot compute them inline. The token is written in two set /p pieces so it never appears verbatim in the command text.

Inheritance

Constructors

CmdShellDialect()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
initLine String?
A single command sent once when the session opens (e.g. installing a Ctrl-C trap or suppressing the shell's prompt), or null if none.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fullMarker(CwdMarker marker) String
The full marker command: reports cwd plus git branch/status and privilege.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pingMarker(CwdMarker marker) String
The lightweight ping marker: signals completion only (no git queries).
override
toString() String
A string representation of this object.
inherited
wrapCommand(String line, {required bool interactive, required String tail}) String
Wraps a user-typed line so it runs and is followed by tail (a marker) as one logical unit. interactive enables terminal-echo handling where the dialect needs it (POSIX only; pipe-based Windows shells don't echo stdin).
override

Operators

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