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
Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27
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