How to pass argv to std.process.Child.init?

string literals are const as they are located in read only memory, ie change the type to &[_][]const u8{...}
fyi you can replace types with . when initialising to get zig to infer the type ie &.{...}

2 Likes