diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-06-01 22:47:17 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-06-01 22:47:17 +0200 |
| commit | 0481d603ccf06f3bd7118ed5548bb163de45e017 (patch) | |
| tree | e753715cbbb825139dbecd0db8ff535e3c1151c7 | |
| parent | 476ec5c7e33314b9a0a073e144c9ca996a179321 (diff) | |
Hidden debug option to make _disk not start _disk_writer on Linux.v2.15.76
| -rw-r--r-- | src/tools/dcpomatic_disk.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_disk.cc b/src/tools/dcpomatic_disk.cc index b23f09d85..6d8727303 100644 --- a/src/tools/dcpomatic_disk.cc +++ b/src/tools/dcpomatic_disk.cc @@ -130,8 +130,12 @@ public: #endif #ifdef DCPOMATIC_LINUX - LOG_DISK("Starting writer process %1", disk_writer_path().string()); - _writer = new boost::process::child (disk_writer_path()); + if (getenv("DCPOMATIC_NO_START_WRITER")) { + LOG_DISK_NC("Not starting writer process as DCPOMATIC_NO_START_WRITER is set"); + } else { + LOG_DISK("Starting writer process %1", disk_writer_path().string()); + _writer = new boost::process::child (disk_writer_path()); + } #endif #ifdef DCPOMATIC_OSX |
