diff options
Diffstat (limited to 'src/cmd/pipe.zig')
-rw-r--r-- | src/cmd/pipe.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd/pipe.zig b/src/cmd/pipe.zig index f97561a..ad0d0e4 100644 --- a/src/cmd/pipe.zig +++ b/src/cmd/pipe.zig @@ -18,9 +18,8 @@ pub const PipeCommand = struct { left: *Command, right: *Command, - pub fn eval(pipe: PipeCommand, ctx: CommandContext) !CommandStatus { + pub fn eval(pipe: PipeCommand, ctx: CommandContext, executeCommandWithOutput: ExecuteCommandFn) !CommandStatus { // Cast the execute function back to its proper type - const executeCommandWithOutput: ExecuteCommandFn = @ptrCast(@alignCast(ctx.execute_command.?)); const allocator = ctx.allocator; const output_capture = ctx.output_capture; |