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

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

Re: jython and emacs on windows


From: jerome delachienne
Subject: Re: jython and emacs on windows
Date: Wed, 08 Dec 2010 15:08:23 -0000
User-agent: G2/1.0

thank for your help!

I will try with cygwin to check if it works.

Today i found out i can start jython from emacs without cmd. in eshell
i just write the full java command:

"C:\Program Files (x86)\Java\jre6\bin\java"  -Xmx512m -Xss1152k  -
Dpython.home="C:\jython2.5.1" -Dpython.executable="C:
\jython2.5.1\jython.bat" -classpath "C:\jython2.5.1\jython.jar"
org.python.util.jython -i

emacs then starts a child process which return on the eshell buffer
the following lines

Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_20
Type "help", "copyright", "credits" or "license" for more information.
>>>

this child process is running but i can not communicate with it. I
found out that emacs is sending the data to a pipe (as far as i
understood). but jython is never reading the data from the pipe

I have tried other applications to check the communications between
emacs and its subprocesses:
i can start a python interpreter from emacs and i can communicate with
it without problem
I have written a small application in java which writes on the outputs
the inputs it has received. it works started from emacs.

it seems for me that the emacs subprocesses communications work fine.

I was thinking it was an end of line problem but it seems that jython
is never reading any data from the pipe.

i ll try jython with cygwin to check if the interactive mode is
working with cygwin.

regards


reply via email to

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