Auto starting browsers

Hyprland version
0.56.2

I was trying to set up brave-origin to auto start on workspaces 2 and 12 with hl.exec_cmd on hyprland.start:

hl.on("hyprland.start", function ()

    hl.exec_cmd("brave-origin", {workspace = "12"})

end)

But it ended up on workspace 1 instead.
I found this forum post: Can't auto start apps on scratchpads
Where it was mentioned that “exec rules only work if the process never forks, browsers almost always do” and that it would be fixed in the next release.
Wondering if there has been a fix for this, thank you.

I personally never use exec rules, window rules are almost always a much better choice:

hl.on("hyprland.start", function ()
    hl.exec_cmd("brave-origin")
end)

hl.window_rule({
    name = "autostart-brave-on-workspace-12",
    match = { class = "^brave-origin$" },

    workspace = 12
})