Is there a way for a platform to get the file name that roc is invoked with? i’d like to use that in rbt to get the working directory for resolving paths
I don't think so. Not sure it even makes sense. Since Roc ultimately compiles to an executable that could be run elsewhere without any roc invocation
of course you could expose the current working directory or the path to the executable that was run and maybe those work.
Yeah, I figured the answer would be something like that. :sweat_smile:
Last updated: Jul 05 2025 at 12:14 UTC