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

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

Compilation hangup


From: spamfilteraccount
Subject: Compilation hangup
Date: 13 Sep 2006 05:22:05 -0700
User-agent: G2/1.0

I'm trying to define my own compilation command. It's an expect script
which works fine from the shell, it returns the exit status of the
compilation properly:

==============
#! /usr/bin/expect

spawn ssh <host>

...

exit $result
===============


If I try to run the same script from M-x compile then it runs fine but
at the end emacs says:

   Compilation hangup at Wed Sep 13 14:12:28

and in the mode line:

   Compilation:signal [1]


So the result is always a failure with signal, instead of the exit
status returned by the script.

Why is that?



reply via email to

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