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
  • 2 hours ago
  • 12 years ago

Installs

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