V
V
Vadim kyklaed2018-12-28 18:03:27
linux
Vadim kyklaed, 2018-12-28 18:03:27

How to run 3 scripts in parallel using bash or python?

Hello, tell me please.
I have a tcp-server client = it starts like this
up = TcpServerClient() threading.Thread(target= up.up_server
).start( ) (), host='127.0.0.1', port=8275, serve=False) server.serve() and I also have a tcp client that is launched similarly to a server by a robot, only the port is different. I need to run all this sequentially, but both worked in parallel. and it is desirable to kill them as much as possible. I've tried a lot of things and have not been successful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2018-12-29
@kyklaed

if capacity allows - use supervisor

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question