47 lines
1.2 KiB
Markdown
47 lines
1.2 KiB
Markdown
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
|
|
1. Enabling single-character input
|
|
1. 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.
|
|
|