Out of a git console: how do I execute a batch file and then return to git console?

后端 未结 5 1401
挽巷
挽巷 2020-11-30 22:14

I have a small utility script called clear.bat that does some housekeeping work on my sources.

It is a .bat file so that I could easily dou

5条回答
  •  一向
    一向 (楼主)
    2020-11-30 22:55

    I like start clean, it opens a new window with cmd. This method has some benefits:

    • cmd.exe gets a native console
    • the new console has a native windows character encoding (e.g. cp1251 vs utf8)

提交回复
热议问题