[PATCH] Workaround to enable xdot.py to run correctly on Windows.

Hugo Puhlmann hugo.puhlmann at smdh.org
Mon Mar 16 14:05:44 PDT 2015


Sorry, managed to attach the wrong file.

On Mon, Mar 16, 2015 at 6:01 PM, Hugo Puhlmann <hugo.puhlmann at smdh.org>
wrote:

> Hi,
>
> 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.
>
> 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.
>
> Thanks,
> --
> Hugo S. K. Puhlmann
> Software Development & IT - Team Leader
> Santa Maria Design House (SMDH)
>



-- 
Hugo S. K. Puhlmann
Software Development & IT - Team Leader
Santa Maria Design House (SMDH)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150316/041a087a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Workaround-to-enable-xdot.py-to-run-correctly-on-Win.patch
Type: application/octet-stream
Size: 1846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150316/041a087a/attachment.obj>


More information about the llvm-commits mailing list