Starting Your favorite editor from Erlang

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Thu Jul 31 07:49:24 CEST 2003


----- Original Message ----- 
From: "Anders Nygren" <anders_nygren2002@REDACTED>
> Does anyone know how to start Your favorite editor
> e.g. Vi or Emacs from an Erlang program and then
> getting the text back into erlang?
>
> I have tried os:cmd("the correct path\gvim.exe") on
> windows but no succes.

Hi,

Works fine for me - maybe you used "\" instead of "/"? Erlang file paths are
Unix-ish.

I'm not sure about what you mean by "getting the text back into Erlang". I use
Emacs and Distel directly (i.e. strating Erlang from there, not the other way
around) and it works like a charm.

regards,
Vlad



More information about the erlang-questions mailing list