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 ago --- Quote Start --- Hi, 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
}
--- Quote End --- Hi there DUESTERBERG I tried your code snippets, and much like mine, they appear to do absolutely nothing. It says in themessage window that the tcl script executed successfully, but no windows consoles execute or appear. Is it poosible that there is something else that I am missing? Thank you for your help.