Skip to content

wniemiec-task-java/process-manager

Repository files navigation

Process Manager

Cross-platform process manager.

Coverage status Java compatibility Maven Central release License


❇ Introduction

Process Manager allows you to perform operations on system processes on different platforms.

❓ How to use

  1. Add one of the options below to the pom.xml file:

Using Maven Central (recomended):

<dependency>
  <groupId>io.github.wniemiec-task-java</groupId>
  <artifactId>process-manager</artifactId>
  <version>LATEST</version>
</dependency>

Using GitHub Packages:

<dependency>
  <groupId>wniemiec.task.java</groupId>
  <artifactId>process-manager</artifactId>
  <version>LATEST</version>
</dependency>
  1. Run
$ mvn install
  1. Use it
[...]

import wniemiec.task.java.ProcessManager;

[...]

ProcessManager processManager = ProcessManager.getInstance();

System.out.println("Force kill process with PID 1234");
processManager.forceKillProcessWithPid(1234);

📖 Documentation

Property Parameter type Return type Description Default parameter value
forceKillProcessWithPid long void Force kill process with a PID -

🚩 Changelog

Details about each version are documented in the releases section.

🤝 Contribute!

See the documentation on how you can contribute to the project here.

📁 Files

/

Name Type Description
dist Directory Released versions
docs Directory Documentation files
src Directory Source files