1
Fork 0

close a TODO

This commit is contained in:
Motiejus Jakštys 2023-05-19 16:04:21 +03:00
parent f5b50068b7
commit 82ab622c66
1 changed files with 5 additions and 5 deletions

View File

@ -39,11 +39,11 @@ const shells = &[_][]const u8{
}; };
pub fn main() void { pub fn main() void {
// This line is here because of https://github.com/ziglang/zig/issues/7807 execute(
const stderr = io.getStdErr().writer(); io.getStdOut().writer(),
const stdout = io.getStdOut().writer(); io.getStdErr().writer(),
os.argv[1..],
execute(stdout, stderr, os.argv[1..]) catch |err| switch (err) { ) catch |err| switch (err) {
error.User => os.exit(1), error.User => os.exit(1),
error.IO => os.exit(3), error.IO => os.exit(3),
}; };