nqminhuit / gis

Java Command Line Application which extends Git for supporting git-modules
1 stars 0 forks source link

Can replace ProcessBuilder with Runtime? #61

Closed nqminhuit closed 2 weeks ago

nqminhuit commented 1 year ago

https://github.com/nqminhuit/gis/blob/master/src/main/java/org/nqm/vertx/CommandVerticle.java#L69 ref: https://www.youtube.com/shorts/HcDmDe0_87c

nqminhuit commented 4 months ago

seems cleaner: image

nqminhuit commented 2 weeks ago

under the hood, runtime uses process builder, and with processbuilder we can specify directory to run on, therefore no need to replace here.