Releases: d4rken/RxShell
Releases · d4rken/RxShell
v1.0.0
- New root classes in an extra module:
implementation 'eu.darken.rxshell:root:1.0.0'
v0.9.9
- Fixed reusability of
RxCmdShell.Builder
v0.9.8
ApiWrap
got an additional check
- New
CmdHelper
class
v0.9.7
Addition of RxCmdShellHelper
class that offers convenience methods for blocking and unwrapping exceptions.
v0.9.6
Added a convenience method that throws a checked exception when opening a shell blockingly.
Easier error handling
The helper method Cmd.builder("").execute(shell)
now returns an error result instead of throwing a RuntimeException
when the one-shot shell can't be opened (e.g. if shell executable su
/sh
) doesn't exist, #15 ).
v0.9.4
- If command execution fails with streams prematurely ending, still forward the data we got so far.
Small refinements
If we default to buffers being non-null, forcing null-checks via @NonNull
makes for ugly code.
Small refinements
Cmd.Result
constructors now supply empty buffer instances by default. This aligns the behavior with the changes from ´v0.9.1`
Refinement
- Added javadocs
- Fixed possible racecondition when command execution encounters errors (#5)
- More sane handling of buffers when commands crash the shell (#6)