Commit Graph

86 Commits (master)

Author SHA1 Message Date
Robinson 7a2bf000ad
version 3.14 2023-10-24 14:38:46 +02:00
Robinson 84e7b51b35
Code cleanup, made logger private 2023-10-24 14:38:19 +02:00
Robinson 3a43eccf83
updated version 2023-06-07 23:58:09 +02:00
Robinson 6eeb94a8b7
Safer addition of shutdown hook 2023-06-07 23:57:53 +02:00
Robinson d4056e8b2e
revert shutdown hook (it's part of .destroyOnExit()) 2023-06-07 23:57:25 +02:00
Robinson 89cb7e2e0d
Added support to forcibly shutdown the executing process in case the JVM is closed while the process is still running) 2023-06-07 23:13:04 +02:00
Robinson 9aa1594330
updated version 2023-01-22 21:37:08 +01:00
Robinson 29f77e5713
More careful 1.8 implementation 2023-01-22 21:36:28 +01:00
Robinson c7e34db112
Updated version 2022-06-24 22:52:46 +02:00
Robinson 8270f6e8b6
Fixed typo 2022-06-24 22:52:06 +02:00
Robinson d27cd39de6
Updated version 2022-06-22 12:58:15 +02:00
Robinson 62b8fbe682
Fixed version inconsistencies 2022-06-22 12:57:56 +02:00
Robinson 5abf987c45
Added inheritIO option to child processes 2022-06-22 12:51:50 +02:00
Robinson b18d033c19
Fixed errors/typos with adding a path to the executable. code cleanup 2022-02-23 22:33:40 +01:00
Robinson 30e45c5fba
Will also execute as shell if there are explicit paths to prepend 2022-02-23 09:04:22 +01:00
Robinson cbbbd553e2
updated version 2022-02-03 10:40:54 +01:00
Robinson b54df61cda
Fixed issue when path is empty (no need to force run as shell then) 2022-02-02 20:53:27 +01:00
Robinson 225ec79637
Added ability to "addPath", which permits one to add directories (one or many) to the path of the executable. When done this way, the executable MUST be run in a way where the path can be set BEFORE the executable is run (otherwise it doesn't work). 2022-01-25 22:55:41 +01:00
Robinson 3959e2168a
Updated version 2022-01-25 08:58:17 +01:00
Robinson 9c31204a50
Better export of path when running as a shell 2022-01-21 14:48:07 +01:00
Robinson a123392425
Fixed error messages for when a single file source code file is used for java execution, and that file is ALSO on the classpath... 2022-01-20 16:14:14 +01:00
Robinson 54b0006b59
Fixed JvmHelper to have passed in parameters for mac/windows, isntead of accessing via Executor class 2022-01-20 16:08:42 +01:00
Robinson 0e19b7699f
updated copyright, removed path check for mainClass (when running with the same classpath that has the compiled class, you cannot run it as a single file java program. It will throw a cryptic error.) 2022-01-20 13:51:31 +01:00
Robinson 5bd728a643
cleaned up comments 2022-01-20 13:14:49 +01:00
Robinson d8d21fb279
jre 8+ always use the server vm (even if not specified) 2022-01-20 13:13:26 +01:00
Robinson 9463a09dd6
fixed issue with leading path separator in some cases 2022-01-20 00:35:36 +01:00
Robinson 955e4f4294
Tweaked timeout/timeoutUnit parameters (are now passed in via start() method calls). Fixed issues with launching JVM processes on macos 2022-01-20 00:08:35 +01:00
Robinson 29c81785de
wrapped stream.flush() with try/catch 2022-01-19 09:39:51 +01:00
Robinson 6ac76b6af3
Fixed issues with logging object arrays 2022-01-19 09:35:06 +01:00
Robinson d1a23f130e
Wrapped possible exception in try/catch when checking stream availability 2022-01-18 14:39:11 +01:00
Robinson 3d00e594dc
Revert accidentally commited debug info 2022-01-18 14:07:05 +01:00
Robinson b8d5203241
Added JVM helper with java9 (way more accurate) method of getting the currently executing process. 2022-01-18 14:04:36 +01:00
Robinson fafa9a488d
Better approach to shell detection in *nix environments. Added command parameters as a single-shell parameter (with spaces, etc). 2022-01-17 22:31:30 +01:00
Robinson 7ef8999568
updated version info 2022-01-06 23:33:50 -07:00
Robinson c4a125b498
Removed unnecessary comments + yield. Changed timeUnit.lowercase -> chronoUnit.name 2021-12-14 23:08:20 -07:00
Robinson 77d5c72825
Updated version 2021-09-24 13:24:41 +02:00
Robinson adb1db70f6
Added Raw/Buffered async process output, so the data can be streamed in different ways if desired 2021-09-24 13:16:07 +02:00
Robinson 1faac35ec3
Added ability to flush process output streams 2021-09-24 13:13:44 +02:00
Robinson 1832fe5eaf Added static run() commands that will also accept a File as the executable 2021-08-29 13:57:01 -06:00
Robinson cffa2af85b comment polish 2021-08-29 10:30:33 -06:00
Robinson eed0f59ff2 fixed comment grammar 2021-08-29 10:29:20 -06:00
Robinson ff1ea8632c Fixed pid typo 2021-08-29 10:29:08 -06:00
Robinson c38c84aaed Easier to access exitValue (java -> kotlin accessor) 2021-08-29 10:22:08 -06:00
Robinson 8e376ae273 Added ability to get currently assigned args 2021-08-29 00:58:52 -06:00
Robinson be1acae414 Added better support for the windows Path environment variable 2021-08-29 00:33:42 -06:00
Robinson 429667937f Added support for explicitly setting the executable 2021-08-28 23:59:38 -06:00
Robinson cafc9e3198 3.1.1 2021-08-28 23:35:44 -06:00
Robinson 12f4c6ef4d Expose the environment map directly, to make map modifications cleaner 2021-08-28 23:30:44 -06:00
Robinson f1e4ce6662 updated version 2021-05-10 14:13:57 +02:00
Robinson 83766dd1b4 Updated kotlin, fixed deprecated methods, updated libraries 2021-05-10 13:50:28 +02:00