ignatov/intellij-erlang

Error! Failed to eval: -> system_info

ZacAzko opened this issue ยท 0 comments

Hi ๐Ÿ˜Š

I'm on Windows and have a little trouble on PHPStorm hen using Erlang plugin.

It seems (after some research) that the plugin try to retrieve the Erlang version with this command :

erl -noshell -eval 'io:format("~s~n~s",[erlang:system_info(otp_release),erlang:system_info(version)]),erlang:halt().'

BUT, on Windows, it crash... :3

image

To resolve the problem, I check the right syntax on Windows and this solution work fine :

erl -noshell -eval "io:format('~s~n~s',[erlang:system_info(otp_release),erlang:system_info(version)]),erlang:halt()."

Here I've just replaced ' by " ...

Is it possible to fix that in the plugin please ?! ๐Ÿ˜…

Thanks a lot.