#Is it possible to get the cwd realPath in 0.16's juicy main?

1 messages · Page 1 of 1 (latest)

next bramble
#

I'm doing the codecrafters write your own shell challenge to learn Zig. I'm using juicy main (delicious preconfigured stuff for a main) but can't seem to get the cwd real path so I can print it back again to stdout. I get error.FileNotFound.

#

Is it possible to get the cwd realPath in 0.16's juicy main?

willow mesa
#

are you looking for std.process.currentPath[Alloc]?