ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Excel​Exec

by SublimeText ST2

Plugin for Sublime Text 2 to execute a command and redirect its output into a view

Details

  • 2012.08.11.03.29.57
  • github.​com
  • 12 years ago
  • 1 hour ago
  • 12 years ago

Installs

  • Total 508
  • Win 346
  • Mac 119
  • Linux 43
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Excel Exec

Plugin for Sublime Text 2 to execute a command and redirect its output into a view.

Usage

The following commands are accessible via the command palette:

  • Excel Exec: Execute in this window
  • Excel Exec: Execute in a new window

Window commands

excel_exec

Executes a command according to the arguments passed.

sublime.active_window().run_command('excel_exec', { 'cmd': 'ls' })

excel_exec_what

Prompts the user for the command to launch.

sublime.active_window().run_command('excel_exec_what', { 'inline': False })

Parameters

  • cmd (string|list): the command to execute
  • inline (bool): if false the command output will be displayed in a new window
  • path (string): the environment variable $PATH to use
  • shell (bool): if true executes the command through a shell
  • working_dir (string): the directory the command has to be executed in
  • encoding (string): the encoding of the command output
  • env (dict): environment variables to set before the command runs
  • quiet (bool): enable display of extra information

Installation

Clone this repository into the Packages directory. If you don't know where it is, enter the following command in the console:

print sublime.packages_path()

To access the console press CTRL +

Note

This plugin is based on the Exec command shipped with Sublime Text.

License

Licensed under the MIT License