Note that this is unrelated to your use of subprocess. It would be the same if you run streamlit from a console or a batch script.
Note that this is unrelated to your use of subprocess. It would be the same if you run streamlit from a console or a batch script.