summaryrefslogtreecommitdiff
path: root/process.h
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2021-10-16 11:28:38 +0200
committerTom Smeding <tom@tomsmeding.com>2021-10-16 11:28:38 +0200
commit006f8b49d9ebe1ca334b934d0a127c0029300871 (patch)
treefe973fdecedb6f43fccbd8ffb70a5a82f51d59f3 /process.h
parentc01700906812f949c9088709b6c34307fbf63338 (diff)
'writemaybe' command to allow broken pipe errors
Diffstat (limited to 'process.h')
-rw-r--r--process.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.h b/process.h
index 3505e8e..0588a40 100644
--- a/process.h
+++ b/process.h
@@ -38,7 +38,7 @@ public:
pid_t getPid() const;
- bool writeLine(const string_view line);
+ bool writeLine(const string_view line, bool allowBrokenPipe);
optional<string> readLine();
optional<string> readLineTimeout(size_t millis);
};