apprt/gtk: cgroup hierarchy only affects surfaces

This commit is contained in:
Mitchell Hashimoto
2024-06-05 10:42:43 -07:00
parent cc6d8bfbfd
commit dda6a22ea9
3 changed files with 14 additions and 3 deletions

View File

@@ -1321,6 +1321,9 @@ const Subprocess = struct {
log.warn("error killing command during cleanup err={}", .{err});
};
log.info("started subcommand path={s} pid={?}", .{ self.args[0], cmd.pid });
if (comptime builtin.os.tag == .linux) {
log.info("subcommand cgroup={s}", .{self.linux_cgroup orelse "-"});
}
self.command = cmd;
return switch (builtin.os.tag) {