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
  • 20 minutes ago
  • 12 years ago

Installs

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