Multiple stata kernels running together
Is your feature request related to a problem? Please describe. If I run two do files together either from atom or one from atom and other from jupyter-notebook both stop running due to error since they both are accessing the same stata console on linux (I believe).
Describe the solution you'd like Either stop the kernal from running the second do file if one is running already or create a new kernel. I am not sure if it is possible or not.
It should be possible to do this on Linux:

These two sessions are running on the same Linux machine but are independent.
When I use stata_kernel from Jupyter or Atom, they seem to be running on same session and both codes stop running. Am i doing something wrong there?
Are you able to do the test I did above? Set a local in one and see if it works in the other session?
You also need to make sure you're creating a new session, not reusing the old one in Hydrogen. Look for a command like "Start new local session" in Hydrogen.
okay thanks, I will give it a try!
I tried and open stata console in two different terminal windows. They seem to be independent but somehow in atom or jupyter notebook code stops running due to some error if I open another jupyter-notebook and run some code there. I am a bit confused.
Is there an error message in the terminal you opened jupyter from?
Yes, I so started two different jupyter-notebooks. I ran a code of around 150 lines in one and then ran the same code in the second one while the first one was still running. Second one produced destring n variable n not found for the same code. Same code in the first one ran without any errors. In fact, there is nothing called destring n in my do file. Everytime, it says some random variable is not found which is not even there in the do file. Thanks for your help.