Skip to content

Failing to create PR on Windows #237

Description

@ofelipedidio

The --title argument of the gh command is not being quoted, resulting in errors for multi-word PR titles.

I tracked down a similar issue on the Node repo: nodejs/node#7367 (comment). The solution there was adding { shell: true } to the spawn function call. I tried it out and it fixed it:


Before adding the shell argument:

Image

After adding it:

Image

The only change I made was adding the shell argument to the spawn call at apps/server/src/processRunner.ts like this:

    const child = spawn(command, args, {
      cwd: options.cwd,
      env: options.env,
      stdio: "pipe",
      shell: process.platform === "win32",
    });

P.S.: I'm very interested in the project and look forward to contributing in the future. If there is any feedback on how I can write better issues, let me know!

Activity

  1. added
    bugSomething is broken or behaving incorrectly.
    on Mar 7, 2026
  2. ashtonland commented on Mar 9, 2026

    @ashtonland

    I am having the same issue on both 0.0.4 and the latest 0.05 version. Strange because the shell fix is in there.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions