|
From: | robin ivetic |
Subject: | run python script simultaneous with time limit |
Date: | Sun, 21 Jan 2024 04:23:11 +0000 |
Hello,
Although this is not primary gnuradio fault, more generally Python knowledge, how can I run mutiple python script one after another with time limit on linux
timeout -s 9 10s python3 -u 1.py
sleep 1
timeout -s 9 10s python3 -u 1.py
This script works, but somehow doesn't trigger Tx switch on hackrf.
How can I try to run all script with python, although this method doesn't work also
import os
import time
os.system('timeout -s 9 10s 1.py && sleep 1')
os.system('timeout -s 9 10s 2.py && sleep 1')
Robin
*
|
[Prev in Thread] | Current Thread | [Next in Thread] |