0
I would like from a script in python to run a program I developed in python as well. However I would like to terminate my script but not the program I opened by it.
I’m opening my program for a subprocess like this:
self.davros_p = subprocess.Popen(
[python_path, "-m", "meu_programa", "start"],
stdout=open(os.devnull, 'w'),
stderr=open(os.devnull, 'w')
)
Both run perfectly, however much I kill my script, I end up killing my program along. I would have some way of making sure that my program wasn’t finalized together?