Shell, JVM, and SSH command execution on Linux, MacOS, or Windows for Java 11+ and Kotlin
Go to file
nathan e712185d5b Cleaned up dependencies 2018-04-08 22:04:14 +02:00
src/dorkbox/executor Updated version. removed hard dependency on Console 2017-12-02 18:17:36 +01:00
LICENSE Updated version. removed hard dependency on Console 2017-12-02 18:17:36 +01:00
LICENSE.Apachev2 Moved shell executor from utils to it's own project 2017-11-26 21:57:25 +01:00
README.md Removed hard dependency on the Console project 2017-12-02 21:55:19 +01:00
ShellExecutor.iml Cleaned up dependencies 2018-04-08 22:04:14 +02:00

README.md

Shell Executor

Shell and JVM command execution on Linux, MacOS, or Windows for Java 6+.

Ironically, there are a considerable number of 'gotchas' when launching shell/JVM processes via Java. This library solves problems with:

  1. Redirecting in/out/err streams correctly
  2. Enabling single-character input
  3. Correctly reading out/err process output streams to prevent memory issues.
  • This is for cross-platform use, specifically - linux 32/64, mac 32/64, and windows 32/64. Java 6+

   

Release Notes

Maven Info

<dependencies>
    ...
    <dependency>
      <groupId>com.dorkbox</groupId>
      <artifactId>ShellExecutor</artifactId>
      <version>1.1</version>
    </dependency>
</dependencies>

Or if you don't want to use Maven, you can access the files directly here:
https://oss.sonatype.org/content/repositories/releases/com/dorkbox/ShellExecutor/

https://repo1.maven.org/maven2/net/java/dev/jna/jna/
https://repo1.maven.org/maven2/net/java/dev/jna/jna-platform/
https://repo1.maven.org/maven2/org/slf4j/slf4j-api/

License

This project is © 2010 dorkbox llc, and is distributed under the terms of the Apache v2.0 License. See file "LICENSE" for further references.