Skip to content

fix: mer init fails — process.spawn doesn't search PATH in Zig 0.16 #84

Description

@justrach

mer init myapp crashes with FileNotFound when calling zig build because std.process.spawn in Zig 0.16 no longer searches PATH by default.

Reproduction:

mer init myapp
# error: FileNotFound at process.spawn

Root cause: In 0.15, Child.init + .spawn() searched PATH. In 0.16, process.spawn requires the full path or explicit PATH resolution via expand_arg0: .expand.

Fix: Add .expand_arg0 = .expand to SpawnOptions, or resolve zig path before spawning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions