- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getProcessInfo (0.1 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy
String result = bash("ps -o pid,ppid -ax | awk '{ if ( \$2 == ${pid} ) { print \$1 }}'").trim() return result == "" ? [] : result.split("\\n") } // Only supported on *nix platforms String[] getProcessInfo(String[] pids) { if (pids == null || pids.size() == 0) { throw new RuntimeException("Unable to get process info because provided pids are null or empty!") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.6K bytes - Viewed (0)