We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 59520

2013.4 Vivado - Exec command does not behave as expected in Windows


When issuing an "exec dir" command or an "exec echo Hello World" command, the following error occurs:

couldn't execute "dir": no such file or directory


Exec is a Linux command that is not fully supported in Windows in the Vivado 2013.4 Tcl compiler. 

Modifications to the Vivado Tcl compiler in Vivado2014.1 will resolve this issue. 

To work around this in 2013.4 and older, use the dir and echo commands by themselves without the exec command as a precursor. 

When the Vivado Tcl shell does not recognize these commands, it will automatically pass them to the OS shell.

AR# 59520
Date Created 02/24/2014
Last Updated 12/09/2014
Status Active
Type General Article
  • Vivado Design Suite - 2013.4