An open API service indexing awesome lists of open source software.

https://github.com/bleuzen/javux

Java library to do things on Linux
https://github.com/bleuzen/javux

java java-library linux shell

Last synced: about 2 months ago
JSON representation

Java library to do things on Linux

Awesome Lists containing this project

README

          

# Javux
Java library to do things on Linux

Script examples
```java
// Python 3 example
Script pythonScript = new Script(ScriptInterpreter.PYTHON3);
pythonScript.addLine("print(\"hi\")");
System.out.println(pythonScript.exec().getOutput());

// ZSH example
Script zshScript = new Script(ScriptInterpreter.ZSH);
zshScript.addLine("echo hi");
System.out.println(zshScript.exec().getOutput());

// SH (default) example
Script script = new Script();
script.addLine("echo hi");
System.out.println(script.exec().getOutput());
```