- This topic has 12 replies, 9 voices, and was last updated 6 years, 4 months ago by .
-
Topic
-
Hi, I am looking for some information on how to change the site in a tcl proc. basically I have tried multiple incarnations of the the code below:
catch {exec cmd /c call setroot $root $site} execResponse
echo “Response: $execResponse”
I have tried using -clear, before this, also tried setsite as well, and setsite with -clear. All come back with no response. When I do showroot it always comes back with the site I am running the proc from.
I am trying to do this, because I am setting up a uPoC protocol thread, that calls this proc, to cycle and delete SMAT and Log files. I need to change the site because the following lines are only working for the site the thread is currently running in:
catch { exec — hcicmdnt -p $process -c “. output_cycle” } execResponse
catch { exec — hcicmdnt -p $processName -c “$threadName save_cycle in” } execResponse
catch { exec — hcicmdnt -p $processName -c “$threadName save_cycle out” } execResponse
Thanks in advance,
Jay
- The forum ‘Cloverleaf’ is closed to new topics and replies.