mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-21 00:39:39 +01:00
JRE-1061 .attach_pid files in the working dir
This commit is contained in:
@@ -234,6 +234,7 @@ public class VirtualMachineImpl extends HotSpotVirtualMachine {
|
||||
String path = "/proc/" + pid + "/cwd/" + fn;
|
||||
File f = new File(path);
|
||||
try {
|
||||
f = f.getCanonicalFile();
|
||||
f.createNewFile();
|
||||
} catch (IOException x) {
|
||||
f = new File(tmpdir, fn);
|
||||
|
||||
Reference in New Issue
Block a user