Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Tcl Library › Stopping Thread from TCL procedure
Based on some validation, I want to stop a thread which is started. I want to achieve the same from TCL procedure. I will be really thankful if I can get some help.
Thanks in advance.
Hi Tauqirul,
You can simply use the ‘exec’ action within your tcl and run the same hci command that you would run from the command line:
exec hcicmd -p myprocess -c “mythread pstop”
Hope this helps.
Jim Cobane
Henry Ford Health
Hi Jim,
Thanks for the help, its working.
Regards