Question may be simple, but I haven't come up with a simple solution yet. Here it goes:
There's a script, and one of the things it does, is launching another Shell.
No problem.
Now, I would like a given command, or script, to be launched along launching that Shell ... but I want the Shell to be usable, just as if I only launch the Shell.
So, in other words, I want the command (or script) to run - in the Shell that is started - and then remain in that shell.
It's easy to launch a Shell, it's easy to lauch a script/command, but I want both. And the script/command must be run in that Shell. Not just running a command, and then start another Shell.
What's the easiest way to do this ?
There's a script, and one of the things it does, is launching another Shell.
No problem.
Now, I would like a given command, or script, to be launched along launching that Shell ... but I want the Shell to be usable, just as if I only launch the Shell.
So, in other words, I want the command (or script) to run - in the Shell that is started - and then remain in that shell.
It's easy to launch a Shell, it's easy to lauch a script/command, but I want both. And the script/command must be run in that Shell. Not just running a command, and then start another Shell.
What's the easiest way to do this ?