Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Silent (shell-command)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Marcelo de Moraes Serpa  
View profile  
 More options Aug 31 2012, 7:10 pm
Newsgroups: gnu.emacs.help
From: Marcelo de Moraes Serpa <celose...@gmail.com>
Date: Fri, 31 Aug 2012 18:10:38 -0500
Local: Fri, Aug 31 2012 7:10 pm
Subject: Silent (shell-command)

Hi list,

Is there a way to run a shell-command without emacs creating any kind of
output buffer when it's completed? I've tried using "&" but the buffer just
changes to "Async Output Buffer". I'd just like emacs to silently run the
command in the background, preferably without blocking. Any ideas?

Thanks in advance,

- Marcelo.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Schmidt  
View profile  
 More options Aug 31 2012, 7:24 pm
Newsgroups: gnu.emacs.help
From: Christopher Schmidt <christop...@ch.ristopher.com>
Date: Sat, 1 Sep 2012 00:23:57 +0100 (BST)
Local: Fri, Aug 31 2012 7:23 pm
Subject: Re: Silent (shell-command)
Marcelo de Moraes Serpa <celose...@gmail.com> writes:

> Is there a way to run a shell-command without emacs creating any kind
> of output buffer when it's completed? I've tried using "&" but the
> buffer just changes to "Async Output Buffer". I'd just like emacs to
> silently run the command in the background, preferably without
> blocking. Any ideas?

    (global-set-key [remap shell-command]
                    (lambda ()
                      (interactive)
                      (let ((display-buffer-overriding-action (cons (lambda (_1 _2) 'rms) nil)))

                        (call-interactively 'shell-command))))

        Christopher


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »