stdin property

Stdin? get stdin

How stdin of the spawned process should be handled.

Defaults to "inherit" for output & outputSync, and "inherit" for spawn.

Implementation

_i4.Stdin? get stdin => switch (_i3.getProperty(
      this,
      'stdin',
    )) {
      _i2.String name => _i4.Stdin.values.byName(name),
      _ => null
    };
set stdin (Stdin? value)

Implementation

set stdin(_i4.Stdin? value) {
  _i3.setProperty(
    this,
    'stdin',
    value?.name ?? _i6.undefined,
  );
}