![]() ![]() Open a new WSL (Windows Subsystem for Linux) bash window to execute linux commands.Run cygwin commands directly in the current Windows shell (without open a new window).Open a new cygwin bash/mintty window to execute Cygwin commands.Open a new cmd window to execute Windows commands.Therefor, terminal.py is created to get these dirty stuff down, in a single script file and provide a unique interface for all operating systems.Ĭalling it in your favorite editor to open a new window and execute your programs just like running a command line application in visual studio. Opening a new terminal window to execute commands in different operating systems is a tricky thing: arguments must be carefully escaped and passed in the correct way, intermediate script (shell script, AppleScript or batch script) must be carefully generated and passed through pipe, and different terminal in all systems must be invoked in different methods. But a lot of editors is lack of such feature, the only thing they can do is executing shell commands in their bottom panel, or in a silent background job. Programming in desktop text editors (atom, gvim, sublime and gedit) always requires executing your code in a new interactive shell window. ![]() And prompts you "press any key to continue. Some commands on Windows, Cygwin, Ubuntu and OS X. This script ( terminal.py) allows you to open a new terminal window and execute ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |