Browse Source

添加执行文件

master
SisMaker 4 years ago
parent
commit
f9d7cb0651
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/sync/esScanner.erl

+ 1
- 1
src/sync/esScanner.erl View File

@ -125,7 +125,7 @@ handleAfter(_, waiting, State) ->
io:format("IMY******************11111"),
spawn(fun() -> case os:type() of
{win32, _Osname} ->
os:cmd("start ./priv/fileSync ./ " ++ integer_to_list(ListenPort));
os:cmd("start ./priv/fileSync.exe ./ " ++ integer_to_list(ListenPort));
_ ->
os:cmd("./priv/fileSync ./ " ++ integer_to_list(ListenPort))
end end),

Loading…
Cancel
Save