LiveStdinChannel class final
A live stdin write channel for a RUNNING process (issue #367): the caller creates the channel, passes it in ShellExecOptions.liveStdin, and the shell implementation binds it to the spawned process's stdin. While bound, the process's stdin pipe stays OPEN for the process's lifetime (the password ask may arrive long after launch) instead of the default close-right-after-start.
Constructors
Properties
Methods
-
bind(
void sink(String data)) → void - Called by the shell implementation once the process is spawned.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
String data) → bool -
Writes
datato the running process's stdin. Returns false when no process is bound or the write failed (the process is already gone) — never throws.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited