Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for Taskkill (0.32 seconds)

  1. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/AntFixtureStop.groovy

            onlyIf { fixture.pidFile.exists() }
            doFirst {
                logger.info("Shutting down ${fixture.name} with pid ${pid}")
            }
    
            if (Os.isFamily(Os.FAMILY_WINDOWS)) {
                executable = 'Taskkill'
                args('/PID', pid, '/F')
            } else {
                executable = 'kill'
                args('-9', pid)
            }
            doLast {
                fileSystemOperations.delete {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  2. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                    Stream.of(psOutputs).forEach(File::delete);
                }
            }
        }
    
        static void pkill(String pid) {
            ExecResult execResult = run(isWindows() ? new String[]{"taskkill.exe", "/F", "/T", "/PID", pid} : new String[]{"kill", "-9", pid});
            if (execResult.code != 0) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top