Forum Discussion
Altera_Forum
Honored Contributor
10 years agoRunning a console executable from a tcl script
Hi there I am attempting to call a console executable file from a tcl script that should run before every compile. Here are a few iterations that I have tried, but nothing seems to make the tcl...
Altera_Forum
Honored Contributor
10 years agoHi,
this works here:
qexec ipconfig
qexec quartus
also:
set cmd "qmegawiz -silent OPTIONAL_FILES=NONE ${file_name}"
post_message "cmd: ${cmd}"
if { } {
post_message -type error "couldn't run $cmd"
} else {
post_message -type info
}