1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

LibCore+Inspector: Move RPC sockets to /tmp/rpc

We have a hierarchical filesystem, let's make use of it :^)
This commit is contained in:
Sergey Bugaev 2020-05-28 18:25:34 +03:00 committed by Andreas Kling
parent 8afcf0d87a
commit ec4902d1dd
2 changed files with 18 additions and 3 deletions

View file

@ -188,7 +188,7 @@ void RemoteProcess::update()
}
};
auto success = m_socket->connect(Core::SocketAddress::local(String::format("/tmp/rpc.%d", m_pid)));
auto success = m_socket->connect(Core::SocketAddress::local(String::format("/tmp/rpc/%d", m_pid)));
if (!success) {
fprintf(stderr, "Couldn't connect to PID %d\n", m_pid);
exit(1);