[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-command
From: |
Matthias Pfeifer |
Subject: |
Re: shell-command |
Date: |
Wed, 11 Jan 2017 09:45:55 +0100 |
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?