Skip to content

Conversation

karcsesz
Copy link

Currently when use-fork is set to true in the configuration, the created processes don't receive the correct command line arguments.

This is most noticeable on linux with the default configuration, as triggering OpenConfigEditor doesn't open the configuration, just opens vi with a scratch buffer.

The fix should be rather simple, just plumbing the parameters through teletypewriter::unix::create_pty_with_fork and default_shell_command

…aphamorim#1016)

Adds the `args` argument to `create_pty_with_fork` and pulls it through to `ContextManager::create_context`.

Also merges the non-macos and macos implementations of default_shell_command since the only difference seemed to have been a hardcoded `--login` argument (which was passed in as argv[0] meaning that it wasn't getting parsed anyway).
@karcsesz karcsesz marked this pull request as ready for review September 17, 2025 21:19
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 this pull request may close these issues.

1 participant