Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105524
| From | Hongyi Zhao <hongyi.zhao@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Obtain the variable in bash. |
| Date | 2016-03-23 08:35 +0000 |
| Organization | NPO RUSnet InterNetNews site |
| Message-ID | <nctkgu$p7s$1@aspen.stu.neva.ru> (permalink) |
| References | <nctfkg$kt7$1@aspen.stu.neva.ru> <mailman.32.1458717548.2244.python-list@python.org> |
On Wed, 23 Mar 2016 18:19:04 +1100, Chris Angelico wrote: > Did you start pycharm/wing from the same session in which you sourced > .bashrc? If not, they won't see that change. Thanks a lot for this explanations. It does behaves as you said which I previously not noticed. > > My guess is that you started the IDEs from your GUI in some way (the > Applications menu or something). If that's the case, they'll inherit > their environment from your GUI. You _may_ be able to have them "notice" > your change to .bashrc by logging out and in again, or rebooting; it > depends how your system is configured. I tried and find that I must set the variable in .profile file, instead of .bashrc, in order to let the IDEs started from my GUI to recognize them after I logged out and in again. Regards > > ChrisA -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Obtain the variable in bash. Hongyi Zhao <hongyi.zhao@gmail.com> - 2016-03-23 07:12 +0000
Re: Obtain the variable in bash. Chris Angelico <rosuav@gmail.com> - 2016-03-23 18:19 +1100
Re: Obtain the variable in bash. Hongyi Zhao <hongyi.zhao@gmail.com> - 2016-03-23 08:35 +0000
Re: Obtain the variable in bash. Chris Angelico <rosuav@gmail.com> - 2016-03-23 19:45 +1100
Re: Obtain the variable in bash. Ben Finney <ben+python@benfinney.id.au> - 2016-03-23 19:08 +1100
csiph-web