Skip to content
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

[SR-8954] REPL does not inherit shell environment #4360

Open
pvieito opened this issue Oct 9, 2018 · 1 comment
Open

[SR-8954] REPL does not inherit shell environment #4360

pvieito opened this issue Oct 9, 2018 · 1 comment
Labels
bug Something isn't working LLDB for Swift

Comments

@pvieito
Copy link

pvieito commented Oct 9, 2018

Previous ID SR-8954
Radar None
Original Reporter @pvieito
Type Bug
Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug
Assignee None
Priority Medium

md5: 2d4aa31ee834383dcd03c62ecd05f889

Issue Description:

For example:

$ echo $PATH
/usr/libexec:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
$ swift
Welcome to Apple Swift version 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1). Type :help for assistance.
1> import Foundation
2> print(ProcessInfo.processInfo.environment)
["OS_ACTIVITY_DT_MODE": "enable", "__CF_USER_TEXT_ENCODING": "0x1F8:0x0:0x8"]

The Swift REPL should inherit all the environment from its parent shell.

@AnnaZaks
Copy link
Mannequin

AnnaZaks mannequin commented Oct 12, 2018

cc friss (JIRA User)

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LLDB for Swift
Projects
None yet
Development

No branches or pull requests

1 participant