Sublime Forum

Python build process is not terminated

#1

The python build processes, startet using ‘ctrl+b’ are not terminated. This leads to a lot of zombie processes, which are consuming a lot of ram.

Does anybody else face such a situation and is there any fix to close the python process after execution or reuse the process for further builds?

0 Likes

#2

The build system should always be killing the process that it spawns (Either SIGTERM or taskkill is used depending on OS), but said process may create it’s own zombies. You could try launching your python program from the command line and seeing if it also leaves behind any zombie processes.

0 Likes

#3

The process does not create any subprocess.

It also is terminated after execution in terminal as a process (python script_name) as well as executed in a sub process python script_name &

However, sublime used an old build system defined by me, which uses the interactive flag for execution. This was causing the environment wait for further input and therefore not closing the process.

Thanks for your quick response! Best Regards,
Steffen

0 Likes