ioHub icon indicating copy to clipboard operation
ioHub copied to clipboard

The .iohpid file is written in the working directory

Open danielshub opened this issue 9 years ago • 0 comments

In iohub/client.py the .iohpid file is written in "rootScriptPath". If this directory is not writable, this causes the iohub client to crash. The XDG Base Directory Specification (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables) covers where these types of files should be saved and I think .iohpid should be saved in $XDG_RUNTIME_DIR since it is a runtime file and not a data file or a configuration file. I also think the standard naming for PID files in Linux would make the file called iohub.pid

danielshub avatar Oct 14 '15 22:10 danielshub