Debugger FIFO pipes ignores TMPDIR
This is issue is related to issue#8844 I need to run dotnet in a restricted environment that do not have access to /tmp.
As described in the above linked issue we noticed that twowaypipe.cpp creates 2 files into /tmp. See process.cpp
Considering there is a method in path.cpp that generates a temp path respecting the TMPDIR env variable, I am inclined to think the debugger FIFO pipes should also respect this convention and writes the files to TMPDIR if the variable is set.
Would it make sense to submit a pull request implementing this change ?
Thanks !
cc @mikem8361
@crntn if you want to do the work, I'll help and review it. I'm in the middle fixing a problem on arm tizen with my PR that allows debugging (which includes creating those pipes on Linux) be disabled with an environment variable (PR dotnet/coreclr#16141).
@mikem8361 will do ! :smiley:
Fixed now.