LibCore: Port Command::write_lines to ErrorOr

Keeping this in line with Command::write.
This commit is contained in:
Shannon Booth 2023-07-17 16:39:31 +12:00 committed by Sam Atkins
commit 125145c682
Notes: sideshowbarker 2024-07-17 03:27:40 +09:00
3 changed files with 6 additions and 8 deletions

View file

@ -41,7 +41,7 @@ public:
ErrorOr<void> write(StringView input);
bool write_lines(Span<DeprecatedString> lines);
ErrorOr<void> write_lines(Span<DeprecatedString> lines);
ErrorOr<ProcessOutputs> read_all();