mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
use consistent type for pid
This commit is contained in:
@ -138,7 +138,7 @@ fn startPosix(self: *Command, arena: Allocator) !void {
|
|||||||
else
|
else
|
||||||
@compileError("missing env vars");
|
@compileError("missing env vars");
|
||||||
|
|
||||||
const pid: linux.pid_t = switch (builtin.os.tag) {
|
const pid: posix.pid_t = switch (builtin.os.tag) {
|
||||||
.linux => if (self.linux_cgroup) |cgroup| try internal_os.cgroup.cloneInto(cgroup) else try posix.fork(),
|
.linux => if (self.linux_cgroup) |cgroup| try internal_os.cgroup.cloneInto(cgroup) else try posix.fork(),
|
||||||
else => try posix.fork(),
|
else => try posix.fork(),
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user