Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: eyal.oren@deri.org (Eyal Oren)
Subject: [sup-talk] patch: execute shell command
Date: Thu, 08 Nov 2007 16:47:30 +0100	[thread overview]
Message-ID: <1194536747-sup-4081@timmy> (raw)

Find attached a simple patch (against svn head) to execute a shell command using 
'!' (as in vi or mutt). It requires the 'session' gem: if you want to get rid of 
that dependency you can just capture the output using >& etc.

It works for me. If I did something wrong, let me know.

-- 
 -eyal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shell.patch
Type: application/octet-stream
Size: 1154 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071108/1f8becde/attachment.obj 


             reply	other threads:[~2007-11-08 15:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-08 15:47 Eyal Oren [this message]
2007-11-12  4:13 ` William Morgan
2007-11-12  5:05   ` Eyal Oren
2007-11-12 15:35     ` Marcus Williams
2007-11-12 16:59       ` William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1194536747-sup-4081@timmy \
    --to=eyal.oren@deri.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox