如何在后台运行 hg 命令(不显示命令提示符窗口)?
我正在使用 Firefox 扩展在我的存储库上运行 hg 命令。但是,当我执行任何 hg 命令时,它会立即显示命令提示符窗口并将其关闭。
例如:-
- process.run("push");
- 进程.运行(“更新”);
有什么办法可以完全不显示该窗口吗?
I am using firefox extension to run hg commands on my repository. But when ever I execute any hg commands it shows command prompt window for a split second and closes it.
Eg:-
- process.run("push");
- process.run("update");
Is there any way to not show that window at all ?
以前,我曾经有一个名为
hidewin.exe
的工具,它可以让您启动任何 bat 文件或 exe 文件并让它以不可见的方式运行。我尝试用谷歌搜索它,但没有轻易找到它,但也许你可以更好地找到它。Back in the day I used to have a tool that was
hidewin.exe
that would all you to start any bat file or exe file and have it run invisibly. I tried a google search for it but didn't find it easily but maybe you could have better luck at finding it.