Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expected error union type, found 'std.child_process.ChildProcess' #490

Closed
wants to merge 1 commit into from
Closed

Conversation

b0bleet
Copy link

@b0bleet b0bleet commented May 18, 2022

as I understand that std.ChildProcess.init doesn't return error union type anymore:

./src/main.zig:1457:48: error: expected error union type, found 'std.child_process.ChildProcess'
        var process = try std.ChildProcess.init(&[_][]const u8{ zig_exe_path, "fmt", "--stdin" }, allocator);

Also, ChildProcess doesn't have deinit() method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants