all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matthias Pfeifer <mpfeifer77@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: shell-command
Date: Wed, 11 Jan 2017 09:45:55 +0100	[thread overview]
Message-ID: <CAPzsW6jcFiaW9dhx+8gqipqT-tn167WpRCvJ5w8EL-PN4144yQ@mail.gmail.com> (raw)
In-Reply-To: <20170110120232.GA12806@tuxteam.de>

2017-01-10 13:02 GMT+01:00 <tomas@tuxteam.de>:

> > However emacs keeps telling me "Shell command succeeded with no output."
> > and the *Shell Command Output* buffer is in fact empty. I wonder where
> the
> > output goes?
>
> To stderr.
>
> Try this:
>
>   scp -rv foo@bar:~/some-dir /tmp > one 2>two
>
> and look at files "one" and "two".
>
> So either you wrap your scp in some kind of redirection or you look
> into the ERROR-BUFFER.
>


That was just what I was thinking. And I fear that I must have some very
basic misunderstanding here, but i was testing this before wrinting and did:

$ scp somefile somehost:/tmp 2> /dev/null

I see the same output as usual...

$ scp somefile somehost:/tmp > /dev/null

I ses nothing...

Where am i mistaking?


  reply	other threads:[~2017-01-11  8:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-10 11:17 shell-command Matthias Pfeifer
2017-01-10 12:02 ` shell-command tomas
2017-01-11  8:45   ` Matthias Pfeifer [this message]
2017-01-11  9:39     ` shell-command tomas
2017-01-11 15:11     ` shell-command Kaushal Modi
2017-01-11 15:28       ` shell-command tomas
  -- strict thread matches above, loose matches on Subject: below --
2009-01-18  0:00 shell-command John J Foerch

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=CAPzsW6jcFiaW9dhx+8gqipqT-tn167WpRCvJ5w8EL-PN4144yQ@mail.gmail.com \
    --to=mpfeifer77@gmail.com \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.