ethauvin
07/02/2019, 4:45 AMwhich
, ls
, git
, etc. all use os(...)
, correct?cedric
07/02/2019, 4:45 AMos
yet, it's for users only, and brand newcedric
07/02/2019, 4:45 AMcedric
07/02/2019, 4:45 AMos
yetcedric
07/02/2019, 4:46 AMcedric
07/02/2019, 4:47 AMos()
is only for users who want to run some Kotlin code to alter command outputsethauvin
07/02/2019, 4:48 AMcedric
07/02/2019, 4:50 AMcedric
07/02/2019, 4:50 AM.bashrc
, ...)ethauvin
07/02/2019, 4:51 AMcedric
07/02/2019, 4:51 AMos()
might help here but I haven't looked into itcedric
07/02/2019, 4:51 AMcedric
07/02/2019, 4:52 AMval vim = os("vi") // this is too simple obviously since it needs $*
ethauvin
07/02/2019, 4:53 AMcedric
07/02/2019, 4:54 AMethauvin
07/02/2019, 4:54 AMcedric
07/02/2019, 4:54 AMcedric
07/02/2019, 4:54 AMvim.kash.kts
cedric
07/02/2019, 4:54 AMfindInJars.kash.kts
to test that functionalitycedric
07/02/2019, 4:54 AMethauvin
07/02/2019, 4:57 AMaliases.kash.kts
, using alias
to map env aliases to kash.cedric
07/02/2019, 4:57 AM$ENV
to each command run by Kashcedric
07/02/2019, 4:57 AMethauvin
07/02/2019, 4:58 AMethauvin
07/02/2019, 4:58 AM/bin
, /usr/bin
, etc. that has an alias should be converted.cedric
07/02/2019, 4:59 AMcedric
07/02/2019, 4:59 AM$ENV
is easy, Java gives me thisethauvin
07/02/2019, 4:59 AMcedric
07/02/2019, 4:59 AMcedric
07/02/2019, 5:00 AMProcessBuilder
that launches alias