diff options
author | Robin Gareus <robin@gareus.org> | 2019-03-05 19:06:15 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-03-05 22:49:15 +0100 |
commit | e1ffe7857ffdd6d29a8548267571e76e569c1fe9 (patch) | |
tree | 564eabf08966b48da4c9c1e7f36c89f23edcd2ea /libs/ardour/ardour/system_exec.h | |
parent | fdf74cf850885a1145305b5a308b08945ba69dd6 (diff) |
Use enum for exec stderr parameter (1/2)
Diffstat (limited to 'libs/ardour/ardour/system_exec.h')
-rw-r--r-- | libs/ardour/ardour/system_exec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/system_exec.h b/libs/ardour/ardour/system_exec.h index ae865c7bff..010a076c01 100644 --- a/libs/ardour/ardour/system_exec.h +++ b/libs/ardour/ardour/system_exec.h @@ -35,8 +35,8 @@ public: SystemExec (std::string c, const std::map<char, std::string> subs); ~SystemExec (); - int start (int stderr_mode = 1) { - return PBD::SystemExec::start(stderr_mode, _vfork_exec_wrapper); + int start (StdErrMode stderr_mode = IgnoreAndClose) { + return PBD::SystemExec::start (stderr_mode, _vfork_exec_wrapper); } private: |