This error occurs, if two submissions are sent at the same time:
It seems to to originate in withCurrentDirectory, which states that the operation might fail with the same exceptions as getCurrentDirectory and setCurrentDirectory, the latter is probably the source of the problem as it states:
In a multithreaded program, the current working directory is a global state shared among all threads of the process.
Maybe searchPath can be used to run the hint interpreter without the need of changing directories. (We would still need to ensure that the currentWorkingDirectory is in fact a directory not containing any Haskell files.)
This error occurs, if two submissions are sent at the same time: It seems to to originate in
withCurrentDirectory
, which states that the operation might fail with the same exceptions asgetCurrentDirectory
andsetCurrentDirectory
, the latter is probably the source of the problem as it states:Maybe
searchPath
can be used to run thehint
interpreter without the need of changing directories. (We would still need to ensure that thecurrentWorkingDirectory
is in fact a directory not containing any Haskell files.)