Hi all One of the containers I'm trying to build has a component that requires restarting the current she'll to continue. I've seen other suggestions via Google but haven't had any success. Would be grateful if any one could comment. Thank you Bryan
bryan.hepworth@gmail.com writes:
Hi all One of the containers I'm trying to build has a component that requires restarting the current she'll to continue. I've seen other suggestions via Google but haven't had any success. Would be grateful if any one could comment.
How exactly do you need to restart the shell? If you need to reload just the settings then you could use: "source conf-file-to-reload". If you really need to re-exec the program, you could use "exec $SHELL after-reload.sh" from the shell itself. Giuseppe
Hi Giuseppe Thanks for the reply. I'm trying to build conda and it prompts which shell you are using, which then goes on to say you have to restart the shell for it to take effect. I haven't had the chance to try another rebuild, but I'll give your suggestions a try. Thank you Bryan
Hi again I see it makes an alterration to .bashrc, so I'll try that this afternoon and see how far I get
participants (2)
-
bryan.hepworth@gmail.com -
Giuseppe Scrivano