Gordon Guthrie
unread,Apr 30, 2008, 8:08:18 AM4/30/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to starling-discuss
Patch for starling_server.erl which didn't handle windows paths
properly:
start_link(ExtProg) ->
Path = code:priv_dir(starling),
%% Drop "priv".
DirName=filename:dirname(Path),
io:format(" in starling_server:start_link got to 1~n"),
ExtProg2 = case os:type() of
{win32,nt} -> ExtProg ++ ".exe";
_ -> ExtProg
end,
DrvPath = filename:join(["/", DirName, "ebin", ExtProg2]),
gen_server:start_link({local, ?MODULE}, starling_server, DrvPath,
[]).