summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-06 00:37:56 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-06 00:37:56 +0200
commit02cc98d3d57b2cc9b1b0bcb4d880dd5d34e70b00 (patch)
treef9ed93ee0e72bcdadc47fccb6ebdd3133f500a45
parent3f5a630daf748a9ce83b5577dea4dd67cd6a9494 (diff)
Don't need to start _writer on macOS.
-rw-r--r--src/tools/dcpomatic_disk.cc7
1 files changed, 6 insertions, 1 deletions
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 ()