Mercurial > hg-stable
view mercurial/utils/__init__.py @ 40751:246b61bfdc2f
procutil: don't allow the main 'hg' script to be treated as the Windows exe
Previously, there were a handful of errors like this:
$ hg prefetch --repack
(running background incremental repack)
+ abort: %1 is not a valid Win32 application
+ [255]
CreateProcess() doesn't append .exe when `lpApplicationName` contains a path,
and a python script isn't directly executable.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 23 Nov 2018 22:27:57 -0500 |
parents | c6061cadb400 |
children |