[erlang-questions] how can I run emacs from erlang

Aaron France aaron.l.france@REDACTED
Tue Jul 16 16:18:00 CEST 2013


Hi,

> os:cmd("emacs").

Works for me. Are you running in X?

Aaron


On Tue, Jul 16, 2013 at 3:00 PM, Joe Armstrong <erlang@REDACTED> wrote:

> Is there a simple way to run emacs from erlang?
>
> This doesn't work
>
> > os:cmd("emacs").
> "emacs: standard input is not a tty\n"
>
> I just want to pop up a window with emacs in it (and some text in a buffer)
> and get the text back when the user quits emacs
>
> Is there an easy way to do this?
>
> And no - I don't want to run erlang inside emacs - I want the other way
> around.
>
> Cheers
>
> /Joe
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130716/e7926e94/attachment.htm>


More information about the erlang-questions mailing list