Streamlit stuck at running after call


I’m trying to call a subprocess within my streamlit webapp, and streamlit can successfully execute the subprocess, but in the original webapp, it doesn’t executes the statements after the call and is stuck at running on the top right.

Steps to reproduce

Code snippet:

add code here

Expected behavior:

Original streamlit webapp should continue with execution of statements after call.

Actual behavior:

Streamlit webapp stuck at running.

Debug info

  • Streamlit version: (get it with $ streamlit version)
  • Python version: (get it with $ python --version)
  • Using Conda? PipEnv? PyEnv? Pex?
  • OS version:
  • Browser version:

Requirements file

Using Conda? PipEnv? PyEnv? Pex? Share the contents of your requirements file here.
Not sure what a requirements file is? Check out this doc and add a requirements file to your app.


  • Link to your GitHub repo:
  • Link to your deployed app:

Additional information

If needed, add any other context about the problem here.

1 Like

Hi @AMAN-9608

Could you share the code, which would help to see how the subprocess is being used in the confinement of a Streamlit app.

I got the code working, not sure what changed, but if someone in the future needs it, I’m using:[“python”,“”)
It seems earlier I was trying to run another streamlit run command.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.