Archives

Creative Commons License
This blog is licensed under a Creative Commons License.

Runner

Runner is a dynamic CLI wrapper for Apple OS X.

Have you ever wanted to run a command from the Terminal, but have the output appear in its own Cocoa window, which will disappear on its own if the command completes successfully? This might be useful for: running backups; watching a large set of files copy over to a network server; executing a long-running command whose output you want to review if there was an error, but you don’t want to wait for, etc.

Well then, Runner is the tool for you.

Usage

Runner comes bundled as a regular Mac application, but it’s not intended to be run directly. If you examine the contents of the bundle, you’ll find an executable under the name Runner.app/Contents/MacOS/Runner. It’s this executable that you want to invoke, directly from the command-line.

To make it easier, I recommend creating a helper script that you place in your /usr/local/bin directory, named runner. Assuming you installed Runner.app in /Applications, the contents of the script would be:

#!/bin/bash
exec /Applications/Runner.app/Contents/MacOS/Runner "$@" \
    > /dev/null 2>&1

Now you can watch the output of a command in its own window by typing:

$ runner <command and arguments>

Features

Runner is designed around the needs I had for it, which include:

  • The output window remains open if the command fails.
  • The command can be restarted while running at the touch of a button.
  • You can instantly abort any command, with a prompt to confirm.
  • Running commands can be paused and resumed.
  • The window remembers its last size and position.
  • The display font can be increased or decreased, and the change is persistent.
  • Most of the above can be configured in the Preferences.

Download

To download Runner, head over to the Downloads section.

No TrackBacks

TrackBack URL: http://www.newartisans.com/mt/mt-tb.cgi/56

Leave a comment

About this Archive

Find recent content on the main index or look in the archives to find all content.

Recent Comments

  • yoman: “Barfin”? “Slurping”? “Slime” “Hunchentoot” ??? What in the T.F. world read more
  • Bjorn Tipling: Why would you add instructions for installing an editor when read more
  • Mark Aufflick: sudo port install sbcl +threads If you previously installed sbcl read more
  • Alexander Lehmann: Thank. You. So. Much. – Clisp caused a lot of read more
  • Vetle: Btw, to get support for threading in SBCL, you have read more
  • ifade: I tried the same and get the same answer, but read more
  • Martial Boniou: Hi, I tried to install slime with MacPorts and I read more
OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.25