Adium
Dock Icons Emoticons Contact List Styles Message Styles Sound Sets AppleScripts Status Icons Service Icons Menu Bar Icons Plugins Miscellaneous All
Executor

Executor

Submitted By Félix Cloutier (Félix)

Description

Executor lets you run shell commands from Adium and substitutes them with their stdout and stderr ouput. It's useful when you want to do quick lookup and give the result to your contact. Commands are passed to bash with the -c switch, and thus arguments undergo shell expansion. (Be aware, however, that the environment variables passed to your programs will be those of Adium, not of your usual command-line shell. This may lead to unexpected results if you depend on variables that you have set in your .profile file.)

Substitution only happens when the command completes and the text field blocks in the while, so don't run commands that take too long. Do not use commands that require input because stdin is unreachable, unless you want to lock down Adium.

Usage
Type /$ command at the beginning of your message.

Examples
  • /$ uptime
  • /$ host adiumxtras.com


TO THE NON-TERMINAL-SAVVY READING THIS
If you are uncomfortable in front of a black screen with green text, if you do not know what rm does or if for you std only means very nasty stuff, DO NOT INSTALL THIS PLUGIN.

Source code available here.

Images

Comments

You can reply to individual comments by clicking the "Reply" link next to each.

# by ruanpienaar on 02/02/11 at 18:10:34

you might want to consider adding a limit to the output that is given to Adium itself, commands with big output, simple gets my adium stuck. but it is defnitly very cool

# by ruanpienaar on 02/02/11 at 18:14:21

stuff like

/$ find / -name "*"

Post a New Comment

You must be logged in to post comments.

Install | Download
6.86kb (1121 downloads)

12345
3.60 / 7 votes
Current Version: 0.0
Last Updated: 08/19/10