5 ms·
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.
by grayhatter 2y 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.
- IgorPartola 2y agoYou would fork first on POSIX systems.
- grayhatter 2y agoI've written a shell in zig, you don't need to fork before building the new envmap