Python: Can Run Multiple Instances of Script Concurrently ? - Raspberry Pi Forums


in testing looking me python can run multiple instances of same script @ same time.

wit:

- connect pi via juicyssh and kick off script named mongobox.py

- close juicyssh, telling contunue running in background

- teamviewer into pi, open command line window, , again
kick off mongobox.py.

looking @ log files generated script, come away thinking i've got 2 copies of same script running concurrently.

have got right?

if so, kill ssh-initiated instance reboot?

no can do

ps aux

, see 2 processes

kill whichever 1 want


raspberrypi



Comments