From 02cc98d3d57b2cc9b1b0bcb4d880dd5d34e70b00 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Apr 2020 00:37:56 +0200 Subject: [PATCH 1/1] Don't need to start _writer on macOS. --- src/tools/dcpomatic_disk.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tools/dcpomatic_disk.cc b/src/tools/dcpomatic_disk.cc index 28945deff..baccdbce3 100644 --- a/src/tools/dcpomatic_disk.cc +++ b/src/tools/dcpomatic_disk.cc @@ -119,11 +119,16 @@ public: #ifdef DCPOMATIC_WINDOWS /* We must use ::shell here, it seems, to avoid error code 740 (related to privilege escalation) */ + LOG_DISK("Starting writer process %1", disk_writer_path().string()); _writer = new boost::process::child (disk_writer_path(), boost::process::shell, boost::process::windows::hide); -#else +#endif + +#ifdef DCPOMATIC_LINUX LOG_DISK("Starting writer process %1", disk_writer_path().string()); _writer = new boost::process::child (disk_writer_path()); #endif + + /* _writer is always running on macOS at the moment */ } ~DOMFrame () -- 2.30.2