Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › TCL Opinions wanted – file reading/writing › Reply To: TCL Opinions wanted – file reading/writing
By using redirection, like:
exec ls > jml.txt
instead of tcl commands:
set fileid [open jml.txt w]
puts $fileid [exec ls]
close $fileid