Add a comment.
authorCarl Hetherington <cth@carlh.net>
Fri, 27 Mar 2020 20:45:31 +0000 (21:45 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 28 Mar 2020 18:47:28 +0000 (19:47 +0100)
src/tools/dcpomatic_dist.cc

index 110d71ff1b5ea1ad19b80e4176c2c0db935a8ff7..623774ee6ac61b2811bbde8027502be29a1c5d33 100644 (file)
@@ -117,6 +117,7 @@ public:
                Bind (wxEVT_SIZE, boost::bind (&DOMFrame::sized, this, _1));
 
 #ifdef DCPOMATIC_WINDOWS
+               /* We must use ::shell here, it seems, to avoid error code 740 (related to privilege escalation) */
                _writer = new boost::process::child (dist_writer_path(), boost::process::shell, boost::process::windows::hide);
 #else
                _writer = new boost::process::child (dist_writer_path());