<div dir="ltr">Sorry, managed to attach the wrong file.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 16, 2015 at 6:01 PM, Hugo Puhlmann <span dir="ltr"><<a href="mailto:hugo.puhlmann@smdh.org" target="_blank">hugo.puhlmann@smdh.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br clear="all">Since xdot.py is a python package, later on creating the process with CreateProcessW will fail with a ERROR_BAD_EXE_FORMAT, as the script isn't an actual executable binary. The solution introduced here is to prepend the python interpreter found in the system to the argument list and starting the process with these instead.<br><br></div>Although this isn't the most clean solution, I believe that since these utilities are intended mostly for developers it should be an acceptable solution.<br><br></div>Thanks,<span class="HOEnZb"><font color="#888888"><br><div><div>-- <br><div><div dir="ltr"><span><font color="#888888"><div dir="ltr"><span><font color="#888888"><div dir="ltr">
<div><span><font color="#888888"><span><span>Hugo S. K. Puhlmann</span></span></font></span><br></div>Software Development & IT - Team Leader<br><div><span><font color="#888888"><span>Santa Maria Design House</span> (SMDH)<br></font></span></div></div></font></span></div></font></span></div></div>
</div></div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><span><font color="#888888"><div dir="ltr"><span><font color="#888888"><div dir="ltr">
<div><span><font color="#888888"><span><span>Hugo S. K. Puhlmann</span></span></font></span><br></div>Software Development & IT - Team Leader<br><div><span><font color="#888888"><span>Santa Maria Design House</span> (SMDH)<br></font></span></div></div></font></span></div></font></span></div></div>
</div>