Y
Hacker News
new
|
ask
|
show
|
jobs
by
grayhatter
643 days ago
The way you'd do that in Zig is by duplicating and providing that env map to the child process. You wouldn't modify the existing envmap.
1 comments
IgorPartola
642 days ago
You would fork first on POSIX systems.
link
grayhatter
642 days ago
I've written a shell in zig, you don't need to fork before building the new envmap
link