summaryrefslogtreecommitdiff
path: root/graphics/asymptote/pipestream.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-03-27 03:01:30 +0000
committerNorbert Preining <norbert@preining.info>2020-03-27 03:01:30 +0000
commit6c0ddfe655a39b71d1ab6a4a95d57a7ea0d94243 (patch)
tree65567ae2d29e1e8af56375fccfc1debc19b190c5 /graphics/asymptote/pipestream.h
parent2bd4f7f317b392c32ce18c70d03fd5ba9ddd9e6d (diff)
CTAN sync 202003270301
Diffstat (limited to 'graphics/asymptote/pipestream.h')
-rw-r--r--graphics/asymptote/pipestream.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/asymptote/pipestream.h b/graphics/asymptote/pipestream.h
index 26eae7a611..59252e468e 100644
--- a/graphics/asymptote/pipestream.h
+++ b/graphics/asymptote/pipestream.h
@@ -38,19 +38,22 @@ protected:
bool Running;
bool pipeopen;
bool pipein;
+ const char *fatal;
public:
void open(const mem::vector<string> &command, const char *hint=NULL,
- const char *application="", int out_fileno=STDOUT_FILENO);
+ const char *application="", const char *fatal="",
+ int out_fileno=STDOUT_FILENO);
bool isopen() {return pipeopen;}
iopipestream(): pid(0), pipeopen(false) {}
iopipestream(const mem::vector<string> &command, const char *hint=NULL,
- const char *application="", int out_fileno=STDOUT_FILENO) :
+ const char *application="", const char *fatal="",
+ int out_fileno=STDOUT_FILENO) :
pid(0), pipeopen(false) {
- open(command,hint,application,out_fileno);
+ open(command,hint,application,fatal,out_fileno);
}
void eof();