libuv: starting Tty impl

This commit is contained in:
Mitchell Hashimoto
2022-04-24 21:57:52 -07:00
parent 9cc19b0553
commit 6613ae0f8f
3 changed files with 49 additions and 1 deletions

View File

@@ -295,7 +295,7 @@ test "Command: pre exec" {
.path = "/usr/bin/env",
.args = &.{ "/usr/bin/env", "--version" },
.pre_exec = (struct {
fn do() void {
fn do(_: *Command) void {
// This runs in the child, so we can exit and it won't
// kill the test runner.
os.exit(42);