is it just me or
var diff_file = std.fs.cwd().openFile(buffer, .{}) catch unreachable;
defer diff_file.close();
var process = std.ChildProcess.init(
&[_][]const u8{"patch"}, allocator
);
process.stdin = diff_file;
try process.spawn();
std.debug.print("{any}\n", .{process});
switch (try process.wait()) {
.Exited => {},
else => {
std.debug.print("Something failed!\nChange directory into quickjs and run this command: patch < {s}\n", .{buffer});
}
}
is not doing anything?