const can_spawn: type = switch (builtin.os.tag) {
    .wasi, .watchos, .tvos => false,
    else => true,
};

Tells whether spawning child processes is supported (e.g. via ChildProcess)