refactor!: clean up stdio interface

with an interface no less!
This commit is contained in:
2026-02-11 22:03:44 +01:00
parent ad740afb5f
commit 3a5cad161d
10 changed files with 159 additions and 114 deletions

View File

@@ -11,7 +11,7 @@ $echo = (new Command('echo'))
->spawn();
(new Command('cat'))
->stdin(Stdio::stream($echo->stdout))
->stdin($echo->stdout)
->status();
// Hello, World!