build-with-input

A plugin to improve the build system of sublime text

Stars
10

Build with input

A plugin for sublime text which allows build systems to run scripts that accept input. For instance, with the following file

Push ctrl + b. Without this plugin, you would get an EOFError. Instead, the build output window appears, waiting for input.

To give it input, click on it and push enter. An input box appears.

Upon pushing enter after typing your input, or esc to abort, you're returned back to the build output, ready to give more input.

It is currently not possible for sublime text to show both the input and output window at the same time.


This plugin works by monkey-patching the code of the original exec.py file. Often this fails to happen correctly on startup. As a temporary workaround, you can force sublimetext to reload exec_patcher.py by opening, editing and resaving it.

Related Projects