Thread
:
How to source ~/.profile through a script with effects lasting after the script has run?
View Single Post
白い熊
2011-09-02 , 05:27
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#
9
Same thing though. Compile and run in a terminal, while it's running it changes it. Once command finishes, the old PATH is in effect.
I'm trying to change the PATH and other variables in a running shell via a command callable in a script, that would have a permanent effect.
Quote & Reply
|
白い熊
View Public Profile
Send a private message to 白い熊
Find all posts by 白い熊