#fix-path-env-rs doesn't seem to be working

1 messages · Page 1 of 1 (latest)

pale saffron
#

are you sure it's related to fix-path-env-rs?
when is the error happening? you need to check if it's a shell script usage or a file usage

jaunty dock
#

Yeah, my bad. It's very much a different problem.

#

I'm trying to use relative paths to read in prewritten database queries from files into text which seems to be the issue.

pale saffron
#

yeah relative paths are scary, we recommend using our path module to get a known path such as config dir, app dir, data dir etc

#

if you wanna read prewritten files, maybe include_str!() is better