1

I would like to keep another Python process (Python function) running, even after the main process is completed. Can this be done without using subprocess?

Currently if I run a non-daemonic process, then it will be automatically joined to the main process.

If I set the process to be daemon, then the child process will exit once the main process is complete.

How do I have another process keep running in the background, even after the main process is complete?

Konrad Rudolph
  • 530,221
  • 131
  • 937
  • 1,214
user1179317
  • 2,693
  • 3
  • 34
  • 62

0 Answers0