ExecInput
Sublime Text package to send input to stdin through the exec build target
Details
Installs
- Total 3K
- Win 3K
- Mac 357
- Linux 430
May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 3 | 0 | 1 | 0 | 0 | 1 | 2 | 0 | 1 | 3 | 3 | 1 | 0 | 0 | 3 | 1 | 1 | 1 | 3 | 1 | 2 | 1 | 0 | 1 | 1 | 0 | 5 | 0 | 0 | 1 | 1 | 2 | 0 | 1 | 2 | 0 | 5 | 1 | 2 | 3 | 0 | 2 | 1 | 2 | 2 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 |
Readme
- Source
- raw.githubusercontent.com
ExecInput
This Sublime Text package allows you to send input to stdin
of the currently
running process. The process must have been started through the exec
build
target which is used by all standard build systems.
It works by hooking into the ExecCommand
class to get access to the currently
running process. Because of that, it should also be compatible with all other
build targets that extend the default ExecCommand
class.
Installation
Package Control
The easiest way to install is using Sublime Text's Package Control:
- Open the
Command Palette
using the menu itemTools
→Command Palette...
- Choose
Package Control: Install Package
- Install
ExecInput
Download
- Download a release
- Extract the package and rename it to
ExecInput
- Copy the package into your
Packages
directory. You can find this using the menu itemPreferences
→Browse Packages...
.
Usage
Make sure to start a process that is waiting for input. Now there are multiple ways to send input:
- Using the default key binding while the build output panel is visible: Ctrl+Alt+Enter
- Using the menu item
Tools
→Send input
- Using the
Command Palette
itemExecInput: Send input
The entered text will then be sent to the process and also added to the build output panel.
Multiple lines of input can be send by using Shift+Enter.
Customization
This package provides the command exec_input
. Use this if you want to
customize the key bindings, menu items, etc.