VLSI-EDA / PoC

IP Core Library - Published and maintained by the Chair for VLSI Design, Diagnostics and Architecture, Faculty of Computer Science, Technische Universität Dresden, Germany
https://tu-dresden.de/ing/informatik/ti/vlsi
Other
539 stars 93 forks source link

PyInfra: Don't rmdir the working directory in /temp #15

Closed Paebbels closed 8 years ago

Paebbels commented 8 years ago

Currently, the complete working directory of a tool is deleted before a new run. This behavior creates issues on Linux (invalid inode) and Windows (access denied, directory is used).

Solution 1 - purge the working directory by:

Paebbels commented 8 years ago

The current tool's temporary directory, for example /temp/ghdl, is no longer removed. So a shell session won't break while executing a command in poc.sh/ps1. Note: Sub-directories are still removed (rm -Rf/ rm -Force). So don't use sub-directories as a working directory for a shell.