How to run an executable in Windows Terminal?

混江龙づ霸主 提交于 2021-01-29 07:44:54

问题


I want to run an executable with Windows Terminal. Something like this:

wt.exe myConsoleApp.exe

But this only opens the Terminal itself.

Making the Terminal the default for all ps1, bat and command line exe files would work too.


回答1:


Update: This is now possible with:

wt myConsoleApp.exe



回答2:


You should include start when you want to run an executable. For example:

start wt.exe

Also note that, you should include the full file path if you are not currently on the directory of your executable file.



来源:https://stackoverflow.com/questions/57722060/how-to-run-an-executable-in-windows-terminal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!