I am trying to run test.tcl file from main.tcl file , without sourcing it and I am getting error saying no file or directory even though both script in same directory.
main.tcl script content:
tclsh test.tcl
exec "C:\\Tcl\bin|\test.tcl"
tclsh test.tcl
test.tcl script content:
puts "Executed Second script"
I tried both exec command and tclsh commands and its not working. Could you please suggest some idea to handle it.