help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Peculiar behavior of ssh -n in eshell mode


From: Tim X
Subject: Re: Peculiar behavior of ssh -n in eshell mode
Date: Wed, 08 Dec 2010 15:32:23 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

elgen <sket16@no.spam.hotmail.com> writes:

> Dear all,
>
> I am reporting the following peculiar behavior. Have one file called
>
> run.sh
> ======================================
> #!/bin/bash
> HOST_NAME=windu
>
> ssh -n windu "bash ./windu_mr_mistf.sh" &
> =====================================
>
>
> Have another file on the remote machine. It is called
>
> windu_mr_mistf.sh
> ================================
> echo "show me the money" > ~/output.txt
> ================================
>
>
> If I run the command "./run.sh" inside a terminal on the local host, the
> output.txt is generated. This is expected.
>
> If I run the command inside the eshell mode inside emacs, I would not receive
> the output.txt. Have any experienced this behavior inside emacs?
>
> I am using GNU Emacs 23.1.1 on Ubuntu v10.0.4.
>
> Thank you for sharing any thought.
>
>

Unless it has changed, eshell does not play well with redirection of
streams. This is one reason I don't use eshell except for simple
interactive use. I found this out when trying to run a script that did
redirection inside it and was geting inconsistent results when run
inside eshell. 

>From memory, this is documented in the eshell manual. 

Tim


-- 
tcross (at) rapttech dot com dot au


reply via email to

[Prev in Thread] Current Thread [Next in Thread]