summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorcah <cah@ableton.com>2020-03-27 01:59:39 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-28 19:47:28 +0100
commite08213c71b561021cb2ac2b3b0789c61c3ea6d41 (patch)
treec333b3d5cbf7027e71c16aeeaa5b1fe55d8a5fc7 /src/tools
parent0c67033958fa0e01646e99f8d61a9c877d9c0f6a (diff)
Start child process with ::shell to prevent error 740 (related to privilege escalation).
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_dist.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_dist.cc b/src/tools/dcpomatic_dist.cc
index 5f1778b6b..e7e19bd0d 100644
--- a/src/tools/dcpomatic_dist.cc
+++ b/src/tools/dcpomatic_dist.cc
@@ -113,7 +113,7 @@ public:
Bind (wxEVT_SIZE, boost::bind (&DOMFrame::sized, this, _1));
- _writer = new boost::process::child (dist_writer_path());
+ _writer = new boost::process::child (dist_writer_path(), boost::process::shell);
}
private: