Don't need to start _writer on macOS.
authorCarl Hetherington <cth@carlh.net>
Sun, 5 Apr 2020 22:37:56 +0000 (00:37 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 5 Apr 2020 22:37:56 +0000 (00:37 +0200)
src/tools/dcpomatic_disk.cc

index 28945deff1a55a26402d4db707ae0f7340b9b9ec..baccdbce3c9f3fd5c94b17b40e67ff23d8d56f5d 100644 (file)
@@ -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 ()