Commit Graph

86 Commits

Author SHA1 Message Date
Robinson 8ddb8d7738 Removed kotlinLogging, and reverted to standard slf4j 2021-04-26 00:28:57 +02:00
Robinson 15c4312d1e Cleaned up init method 2021-04-20 14:13:25 +02:00
Robinson d19d80f101 created package-info in project 2021-04-18 23:42:37 +02:00
Robinson 0eebd2b2ff Changed SSHJ to be an optional dependency, since SSH command execution is not common. In the cases were it is, adding the SSHJ library dependency will enable support. 2021-04-11 19:24:13 +02:00
Robinson 4b429c8c3b Write a CHANNEL_EOF message over SSH when closing SSH. 2021-04-11 19:23:06 +02:00
Robinson 0d5b094615 More SSHJ logging cleanup 2021-04-11 19:22:20 +02:00
Robinson 1a3c0adf2a Updated version info 2021-04-09 13:37:47 +02:00
Robinson 996187863a Code cleanup 2021-04-09 12:40:46 +02:00
Robinson 45f0d928d1 Added update system 2021-04-09 12:39:50 +02:00
Robinson e1f33ec7fc version 3.0 2021-03-20 20:27:28 +01:00
Robinson 45115c94d0 Logging changed to SLF4J, instead of wrapping it in a non-standard way. SSH logging is now dependent on what the executor log is set to (only for logback implementations) 2021-03-20 20:26:06 +01:00
Robinson 72bb2470c0 Changed processInitException to handle any type of exception 2021-03-20 20:11:43 +01:00
Robinson 222c55bbe0 Updated version 2021-01-28 21:07:11 +01:00
Robinson 38577034a2 Updated version information 2021-01-26 23:08:23 +01:00
Robinson 504fc70e7f Added more specific detailed information regarding SSH executions, removed unnecessary methods 2021-01-26 22:23:12 +01:00
Robinson 8ba7e8f83b Cleaned up documentation 2021-01-26 22:19:25 +01:00
Robinson 6bd8ab87e1 Added more @Throws to methods 2021-01-26 22:18:49 +01:00
Robinson e93d1c1424 Fixed comment typos 2021-01-26 20:02:31 +01:00
Robinson e92a1ab0ee Created a multi-release jar, so projects using java 8 will work, and projects using java 9+ will have access to PID information 2021-01-26 01:18:18 +01:00
nathan 2cd1e5f976 Removed debug comments 2020-08-13 00:24:00 +02:00
nathan 7e38d94d19 Can now read output from startAsync() after the process has quit 2020-08-11 00:02:31 +02:00
nathan d28d2fbc70 Removed dead code 2020-08-11 00:01:32 +02:00
nathan 9aa8c1041b When closing the channel, no longer throw an exception 2020-08-10 23:42:11 +02:00
nathan f2bd21592d Tweaked method signature names 2020-08-10 23:36:09 +02:00
nathan ef657078f9 Added available() 2020-08-10 23:33:09 +02:00
nathan 01e09afe49 Changed directory -> workingDirectory (it's more exact what it means) 2020-08-10 17:46:37 +02:00
nathan 1697108b5c Fixed string(), added lines() support 2020-08-10 17:41:54 +02:00
nathan db1118a733 Changed addCommand -> addArg. Added 'addArg' to JVM/SSH exec 2020-08-10 14:13:28 +02:00
nathan b819060901 Removed dependency on ANSI Console (it's inputstream can be directly used, no need for manipulating inputstreams) 2020-08-07 23:22:14 +02:00
nathan f92fcccba3 Executor is now merged with ZeroTurnaround Executor, and entirely written in Kotlin with coroutines. The API is similar to the ZT executor, however there are a number a huge changes in the way it works. The design is a lot more fluent, and contains less special-case objects for working with running processes (along with different types, such as jvm-forking and remote ssh processes). 2020-08-06 11:07:25 +02:00
nathan cf9af55be5 Updated version. removed hard dependency on Console 2017-12-02 18:17:36 +01:00
nathan 6c3ac14c59 Changed ProcessStreamProxy to have an optional dependency on the Console
project (instead of a hard-dependency). If the Console project is not
 available, then certain behavior is not possible, but that behavior is
 not necessary (just useful)
2017-12-02 15:54:32 +01:00
nathan bc2501a818 Updated readme info and version 2017-11-28 21:25:15 +01:00
nathan aa9b2bc5ea Code polish. Removed irrelevant classes. 2017-11-28 21:07:43 +01:00
nathan ee968be141 Fixed issues with reading from System.in and blocking reads. 2017-11-28 21:07:11 +01:00
nathan d9b565edde Moved shell executor from utils to it's own project 2017-11-26 21:57:25 +01:00