close a TODO
This commit is contained in:
parent
f5b50068b7
commit
82ab622c66
@ -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),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user