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

Hugo Puhlmann hugo.puhlmann at smdh.org
Mon Mar 16 14:01:32 PDT 2015


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

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/279ebf78/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .0001-Workaround-to-enable-xdot.py-to-run-correctly-on-Win.patch.swp
Type: application/octet-stream
Size: 12288 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150316/279ebf78/attachment.obj>

More information about the llvm-commits mailing list