Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] patch: execute shell command
@ 2007-11-08 15:47 Eyal Oren
  2007-11-12  4:13 ` William Morgan
  0 siblings, 1 reply; 5+ messages in thread
From: Eyal Oren @ 2007-11-08 15:47 UTC (permalink / 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 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-12 16:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-08 15:47 [sup-talk] patch: execute shell command Eyal Oren
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox