Reply To: TCL Opinions wanted – file reading/writing

› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › TCL Opinions wanted – file reading/writing › Reply To: TCL Opinions wanted – file reading/writing

#58046
Anonymous
Participant

    By using redirection, like:

    exec ls > jml.txt

    instead of tcl commands:

    set fileid [open jml.txt w]

    puts $fileid [exec ls]

    close $fileid