On 24/06/2020 21:18, Aurélien Lorence wrote:
  I'm currently working on a project which
integrates OpenOB in a python 
 program. I have a "start" button to run a link in a thread. Is there 
 any way to stop the link without exiting the whole program.
 I tried to implement this in the code, but the node keeps restarting 
 when shut down. 
G'day,
Not quite sure what the issue is.
AH... I think you are trying to start/stop openob without stopping the 
controlling program.
I took the easy option and used systemd to stop/start and just called 
systemctl to do the heavy work.
https://github.com/st1nga/talkback
may help (not in use and not really finished, but I think it works) I 
think there maybe a config file missing, let me know if there is and I 
can update the git.
-- 
'ooroo
Stinga...(:)-)
---------------------------------------------------
Email: stinga(a)wolf-rock.com         o
You need only two tools.        o /////
A hammer and duct tape. If it    /@   `\  /) ~
doesn't move and it should use  >  (O)  X<  ~  Fish!!
the hammer. If it moves and      `\___/'  \) ~
shouldn't, use the tape.           \\\
---------------------------------------------------