Skip to content

os_process_pipe_create with flag "r" fails on macOS #12141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
summershrimp opened this issue May 11, 2025 · 0 comments · May be fixed by #12147
Open

os_process_pipe_create with flag "r" fails on macOS #12141

summershrimp opened this issue May 11, 2025 · 0 comments · May be fixed by #12147

Comments

@summershrimp
Copy link

summershrimp commented May 11, 2025

Operating System Info

macOS 15

Other OS

No response

OBS Studio Version

31.0.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

none

OBS Studio Crash Log URL

No response

Expected Behavior

os_pipe_create_process should be return the pipe of subprocess.

Current Behavior

os_pipe_create_process fails and return NULL.

Steps to Reproduce

  1. call os_pipe_create_process with flag = "r"
    Image
  2. check the return value of posix_spawn
    Image
  3. it returns 9 (BAD FD)...
  4. If change flag to "w", everything works fine.
    Image

Anything else we should know?

No response

@summershrimp summershrimp changed the title os_process_pipe_create with flag "r" failed on macOS os_process_pipe_create with flag "r" fails on macOS May 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant