Skip to content

posix_spawn and fork-exec do not treat non-string environment variables the same #128

Description

@shepmaster

I was setting the environment of a process to this:

{
      TEST_GITHUB_DISABLED: true,
      DATABASE_URL: "A string",
      API_HTTP_PORT: 8080,
}

This was working well, but then I set ChildProcess.posix_spawn = true as suggested by the README. I then started getting exceptions because val no longer implemented include?.

I don't have much of an opinion which way is correct, but it would be nice for them to be consistent.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions