Replies: 2 comments 17 replies
-
While looking tempting I wonder if other java tooling / library could be confused. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Might work well for fs/process, but not a fan of patching Clojure functions. Also, dynamic vars are somewhat brittle in Clojure when combined with laziness and parallelism. |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discussion for issue #1277
We could have a separate library and namespace for this:
or we could just stick in into
babashka.fs/*cwd*
.The idea would be that you could change the current working directory and functions in
fs
andprocess
would take that into account.We could also patch clojure core functions, but that would maybe lead to unexpected results later on if we patch things gradually.
Alternatively, we could investigate if JNI / Graal C lets us change the current working dir.
Beta Was this translation helpful? Give feedback.
All reactions