Skip to content

Commit

Permalink
main: use new ChildProcess API. exec() -> run()
Browse files Browse the repository at this point in the history
  • Loading branch information
travisstaloch committed Oct 30, 2023
1 parent cc727b6 commit d4ab963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub fn main() !void {
try argv.appendSlice(&.{ "-o", gen_path_full });
try argv.append(filename);
std.log.debug("argv={s}\n", .{argv.items});
const exec_res = try std.ChildProcess.exec(.{ .allocator = alloc, .argv = argv.items });
const exec_res = try std.ChildProcess.run(.{ .allocator = alloc, .argv = argv.items });
// std.debug.print("term={}\n", .{exec_res.term});
// std.debug.print("stderr={s}\n", .{exec_res.stderr});
// std.debug.print("stdout={s}\n", .{exec_res.stdout});
Expand Down

0 comments on commit d4ab963

Please sign in to comment.