Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tcl/tk parallel execution

Status
Not open for further replies.

swanup

Programmer
Apr 10, 2017
1
US
Hi team,
I am new to tcl threading, so kindly help me to implement parallel execution of tcl script.

Tried:(Code)
puts "start"
set tid [thread::create ] ;# Create a thread
thread::send $tid {exec c:/windows/system32/notepad.exe &}
puts "end"

current execution flow:
Executing "notepad.exe" out showing any log and when I am existing notepad then only I am able see both the log.
start
end

Desired output:
start
--> should execute "notepad.exe" separately without effecting other .
end // with out exiting notepad.








 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top