Cross-platform process manager.
Process Manager allows you to perform operations on system processes on different platforms.
- Add one of the options below to the pom.xml file:
<dependency>
<groupId>io.github.wniemiec-task-java</groupId>
<artifactId>process-manager</artifactId>
<version>LATEST</version>
</dependency>
<dependency>
<groupId>wniemiec.task.java</groupId>
<artifactId>process-manager</artifactId>
<version>LATEST</version>
</dependency>
- Run
$ mvn install
- Use it
[...]
import wniemiec.task.java.ProcessManager;
[...]
ProcessManager processManager = ProcessManager.getInstance();
System.out.println("Force kill process with PID 1234");
processManager.forceKillProcessWithPid(1234);
Property | Parameter type | Return type | Description | Default parameter value |
---|---|---|---|---|
forceKillProcessWithPid | long |
void |
Force kill process with a PID | - |
Details about each version are documented in the releases section.
See the documentation on how you can contribute to the project here.
Name | Type | Description |
---|---|---|
dist | Directory |
Released versions |
docs | Directory |
Documentation files |
src | Directory |
Source files |