aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bun.js/api/bun/subprocess.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bun.js/api/bun/subprocess.zig b/src/bun.js/api/bun/subprocess.zig
index 1dbc045d3..496f7ce72 100644
--- a/src/bun.js/api/bun/subprocess.zig
+++ b/src/bun.js/api/bun/subprocess.zig
@@ -1020,19 +1020,19 @@ pub const Subprocess = struct {
}
const stdin_pipe = if (stdio[0].isPiped()) os.pipe2(0) catch |err| {
- globalThis.throw("failed to create stdin pipe: {s}", .{err});
+ globalThis.throw("failed to create stdin pipe: {any}", .{err});
return .zero;
} else undefined;
errdefer if (stdio[0].isPiped()) destroyPipe(stdin_pipe);
const stdout_pipe = if (stdio[1].isPiped()) os.pipe2(0) catch |err| {
- globalThis.throw("failed to create stdout pipe: {s}", .{err});
+ globalThis.throw("failed to create stdout pipe: {any}", .{err});
return .zero;
} else undefined;
errdefer if (stdio[1].isPiped()) destroyPipe(stdout_pipe);
const stderr_pipe = if (stdio[2].isPiped()) os.pipe2(0) catch |err| {
- globalThis.throw("failed to create stderr pipe: {s}", .{err});
+ globalThis.throw("failed to create stderr pipe: {any}", .{err});
return .zero;
} else undefined;
errdefer if (stdio[2].isPiped()) destroyPipe(stderr_pipe);