From: eyal.oren@deri.org (Eyal Oren)
Subject: [sup-talk] patch: execute shell command
Date: Mon, 12 Nov 2007 14:05:31 +0900 [thread overview]
Message-ID: <1194843828-sup-7014@timmy> (raw)
In-Reply-To: <1194840554-sup-9310@south>
Excerpts from William Morgan's message of Mon Nov 12 13:13:40 +0900 2007:
> I like this functionality but the session gem seems like it's overkill
> here. Is there a reason to use it instead of just something like
> output = `#{cmd}`
I also wanted to catch error output, to find out if an unexisting command was
invoked, and I didn't know how to do that with ``?
> Also I think the code for this should be in bin/sup rather than in
> scroll-mode.rb, since, unless I'm mistaken, it's not specific to
> scroll-mode at all.
Agree. Wasn't sure where to put it, actually.
--
-eyal
next prev parent reply other threads:[~2007-11-12 5:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-08 15:47 Eyal Oren
2007-11-12 4:13 ` William Morgan
2007-11-12 5:05 ` Eyal Oren [this message]
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=1194843828-sup-7014@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