PID retrieval in tcl

view full story

http://www.linuxquestions.org – I have a test framework written in tcl which i run for 5-6 hours. Now i want to retrieve the pid of the process (execution using framework) as first few line of the script and do some processing. How this PID retrieval is possible in tcl? (HowTos)