is there a way to start a atimed event in a shell script without interrupting or freezing other procs that are running???
like bind time ..
Code: Select all
clock format [clock seconds] -format {%S %M %H %d %m %Y}could u maybe give me an example ?? simple script ..? might over looked something .. ive checked the manual several times can't find a good command to do so and i can't think of a proc that will do this utimer yes but thats nota avail in shell ://ERROR --> too many nested calls to Tcl_EvalObj (infinite loop?)
You didn't enter the event loop (stdin is blocking in tclsh by default) You can force an update by invoking 'update' when testing stuff.Ofloo wrote:i also tryed this but it doesn't return anything.. i kept waiting .. but .. 1000 ms = 1 sec right hehe% proc ver {} { return [clock seconds] }
% ver
1098618251
% after 1000 ver
after#2
%, but nothing happend..