You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
263 B

chan configure stdout -buffering none
puts -nonewline stdout "1 hello on stdout with unix newline\n"
flush stdout
puts -nonewline stdout "2 hello on stdout with crlf newline\r\n"
flush stdout
puts -nonewline stdout "exiting with exitcode 1"
flush stdout
exit 1