Tool - shell command is not showed, a prompt will wait forever
Created originally on Bitbucket by JPLemelin (Jean-Philippe Lemelin)
TortoiseHg 3.0.2 (working on 3.0.0)
When we execute a custom tool from the shell command is not showed. If we do some prompt (ask a input from the user), the process will wait in background forever.
Step to reproduce:
- Add this to your mercurial.ini
#!ini
[tortoisehg-tools]
Test.command = cmd /c "set /p MyVar=Enter The Value:"
Test.enable = istrue
Test.showoutput = True
[tortoisehg]
workbench.custom-toolbar = Test
- Restart your TortoiseHg Workbench
- Press on new button "Test" in tool bar
- Nothing is showed, but the process is waiting forever..
Note: Same things with a prompt from a Python script
Attachments: thgw_shell_bug