-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple hg.exe processes spawned #1035
Comments
Tried updating to latest mercurial (3.8.4), same results
Copyright (C) 2005-2016 Matt Mackall and others
Copyright (C) 2005-2016 Matt Mackall and others |
Updated to 1.3.0 and still an issue, possible a bug in the lua runtime and/or parsing the output of hg.exe modified clink.lua to the following and it resolved the issue function get_hg_status()
for line in io.popen("hg status -0"):lines() do
return false
end
return true
end process info: C:\work\source\...\ (r_working)
λ WMIC PROCESS WHERE name="hg.exe" get Caption,Commandline,Processid,ParentProcessId
Caption CommandLine ParentProcessId ProcessId
hg.exe hg status 6100 6880
hg.exe hg status 12644 15136
hg.exe hg status 3912 11156
hg.exe hg status 14628 3264
hg.exe hg status 18352 3164
hg.exe hg status 12408 9888
hg.exe hg status 5540 13044
hg.exe hg status 17464 7984
hg.exe hg status 18072 16256
hg.exe hg status 16548 16596
hg.exe hg status 15104 16600
C:\work\source\...\ (r_working)
λ WMIC PROCESS WHERE name="cmd.exe" get Caption,Commandline,Processid,ParentProcessId
Caption CommandLine ParentProcessId ProcessId
cmd.exe "C:\Windows\system32\cmd.exe" /k "C:\cmder\vendor\conemu-maximus5\..\init.bat" 17120 4716
cmd.exe "C:\Windows\system32\cmd.exe" /k "C:\cmder\vendor\conemu-maximus5\..\init.bat" 15648 13960
cmd.exe C:\Windows\system32\cmd.exe /c hg status 13960 6100
cmd.exe C:\Windows\system32\cmd.exe /c hg status 13960 12644
cmd.exe C:\Windows\system32\cmd.exe /c hg status 13960 3912
cmd.exe C:\Windows\system32\cmd.exe /c hg status 13960 14628
cmd.exe C:\Windows\system32\cmd.exe /c hg status 13960 18352
cmd.exe C:\Windows\system32\cmd.exe /c hg status 13960 12408
cmd.exe C:\Windows\system32\cmd.exe /c hg status 13960 5540
cmd.exe C:\Windows\system32\cmd.exe /c hg status 13960 17464
cmd.exe C:\Windows\system32\cmd.exe /c hg status 13960 18072
cmd.exe C:\Windows\system32\cmd.exe /c hg status 13960 16548
cmd.exe C:\Windows\system32\cmd.exe /c hg status 13960 15104
cmd.exe C:\Windows\system32\cmd.exe /c hg status 13960 4428 |
When in a directory that is a mercurial repo multiple hg.exe processes are started and never die.
Basically one hg.exe for each time the enter key is pressed
To reproduce all I have to do is
ConEmu build 160710
Clink v0.4.7 [git:dfc95a] Copyright (c) 2012-2016 Martin Ridgers
http://mridgers.github.io/clink
Usage: <verb_options>
Verbs:
inject Injects Clink into a process.
autorun Manage Clink's entry in cmd.exe's autorun.
set Adjust Clink's settings.
(' --help' for more details).
The text was updated successfully, but these errors were encountered: