Start child process with ::shell to prevent error 740 (related to privilege escalation).
authorcah <cah@ableton.com>
Fri, 27 Mar 2020 00:59:39 +0000 (01:59 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 28 Mar 2020 18:47:28 +0000 (19:47 +0100)
src/tools/dcpomatic_dist.cc

index 5f1778b6bd937fb551c74cd316a5c89c7e6f99de..e7e19bd0d4ec500fdd4e89e8a85b051cfd8ff783 100644 (file)
@@ -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: