diff --git a/packages/process_run/lib/src/lines_utils_common.dart b/packages/process_run/lib/src/lines_utils_common.dart index c84b303..3c2527f 100644 --- a/packages/process_run/lib/src/lines_utils_common.dart +++ b/packages/process_run/lib/src/lines_utils_common.dart @@ -7,7 +7,9 @@ import 'package:process_run/src/shell_utils_common.dart'; import 'common/import.dart'; -/// Basic shell lines controller. +/// Basic bi-directionnal shell lines controller. +/// +/// Use either sink for stdout/stderr or binaryStream for stdin /// /// Usage: /// ```dart @@ -56,6 +58,9 @@ class ShellLinesController { /// True if the controller is closed. bool get isClosed => _controller.isClosed; + /// The binary stream to listen to, that can be passed to stdin + Stream> get binaryStream => _controller.stream; + /// Dispose the controller. void close() { _controller.close();