-
Notifications
You must be signed in to change notification settings - Fork 256
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
Emulate xterm everywhere #543
Conversation
07648c4
to
60f31c2
Compare
Codecov Report
@@ Coverage Diff @@
## master #543 +/- ##
==========================================
- Coverage 86.17% 86.16% -0.02%
==========================================
Files 100 100
Lines 2083 2081 -2
==========================================
- Hits 1795 1793 -2
Misses 288 288
Continue to review full report at Codecov.
|
# Emulate the streams of a process connected to a terminal: stdin, stdout, and stderr are all ptys. | ||
self._master, self._slave = pty.openpty() | ||
# Some runtimes *cough cough* Swift *cough cough* actually check the environment variables too. | ||
env = self.get_compile_env() or os.environ.copy() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually broken, although you are just copying code. The intention was that get_compile_env
could return {}
, which is supposed to mean blank environment, except it actually has the same meaning as None
now. This is probably not worth changing now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I noticed this too.
No description provided.