Uploaded image for project: 'Swift'
  1. Swift
  2. SR-1636

No access to list of environment variables possible

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Standard Library
    • Labels:
      None

      Description

      As `fork` is not allowed we have to resort to `posix_spawn` which needs a list of environment variables to set for the child. We currently have no method of getting to such a list as the environment is not reachable, neither is there something in `Process` nor can we access the `environ` variable that is exported from the c library.

      As I can see `Foundation` does a call to a `CoreFoundation` method to get that. If we do not want to use `Foundation` we're screwed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dunkelstern Johannes Schriewer
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: