My question is very simple. Take into consideration the code snippets below:
set cvsPath "C:/Program Files (x86)/cvsnt/cvs.exe"
puts [exec $::cvsPath log filename]
puts "------------- END OF SCRIPT ---------------------"
This one prints the log and then “————- END OF SCRIPT ———————“.
set cvsPath "C:/Program Files (x86)/cvsnt/cvs.exe"
puts [exec $::cvsPath -n upd]
puts "------------- END OF SCRIPT ---------------------"
This one prints the update messages and exits. Why? How to prevent exiting?
P.S. The reason of exiting is exec with cvs -n upd input…
Probably because you’re making csv.exe throw an error. Try catching it,