D
D
Denis99992016-03-10 14:14:09
Python
Denis9999, 2016-03-10 14:14:09

How to run multiple python scripts at the same time?

How to run multiple python scripts at the same time?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2016-03-10
@phplamer

If it is Linux, then after running the script, you can press Ctrl + z and the script will remain running in the background.
Or you can add an ampersand at the end of the call, like
this will also cause it to run in the background.
Read, for example here
heap.altlinux.org/modules/linux_processes.kirill/i...

N
nonname, 2016-03-10
@nonname

For a larger application, supervisord can be used. The daemon can, for example, run multiple copies of a process and pass the process number as a parameter or part of the parameter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question