Skip to content

Commit 17f2f6d

Browse files
committed
Use a path compatible with every platform
1 parent dced98c commit 17f2f6d

File tree

1 file changed

+1
-1
lines changed
  • pokemonterminal/platform/named_event

1 file changed

+1
-1
lines changed

pokemonterminal/platform/named_event/posix.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class PosixNamedEvent(NamedEvent):
2727

2828
@staticmethod
2929
def __build_fifo_path(name: str) -> PosixPath:
30-
return PosixPath(f'/var/run/user/{os.getuid()}/pokemon-terminal/{name}')
30+
return PosixPath(f'/tmp/{name}/{os.getuid()}')
3131

3232
@staticmethod
3333
def __has_open_file_handles_real(path: PosixPath) -> bool:

0 commit comments

Comments
 (0)