Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private static void doIt(int port) throws Exception {
private static boolean check() throws Exception {
long myPid = ProcessHandle.current().pid();
ProcessBuilder pb = new ProcessBuilder(
"lsof", "-U", "-a", "-p", Long.toString(myPid));
"lsof", "-U", "-a", "-w", "-p", Long.toString(myPid));
pb.redirectErrorStream(true);
Process p = pb.start();
p.waitFor();
Expand Down