ExecInput
Sublime Text package to send input to stdin through the exec build target
Details
Installs
- Total 4K
- Win 3K
- Mac 439
- Linux 511
Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 0 | 1 | 0 | 0 | 1 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 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.