How can I store result of user defined tcl command “prove” into a tcl variable?

后端 未结 0 507
情深已故
情深已故 2020-11-22 15:33

In tcl, we can set the returned character of a inlined command into a tcl variable as below.

Tcl> set x [pwd]
/home/user_leo/tmp
Tcl> puts $x
/home/user         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题