Reputation: 368
erl -sname test –pa ./simple_cache/ebin
used to work perfectly fine (and I'm in the correct dir), but now:
Eshell V11.1.5
1> node().
nonode@nohost
Neither the net kernel is started nor the path is added. Doing so manually in the shell works though.
Upvotes: 2
Views: 83
Reputation: 46
The dash in –pa
is not a regular dash but something else. Some fancy formatting gone wrong before it was copied probably.
The –pa
is code point (aka dash) (U+2013) and -sname
is code point (U+002D) (aka hyphen-minus).
Upvotes: 3
Reputation: 368
Turns out the dashes in the command are different for whatever reason:
erl -sname test –pa ./simple_cache/ebin
The one before sname
is slightly shorter, using that one turns out to solve the issue. my god.
Upvotes: 1