Redirect (or Cd) should have an option/variant that computes paths relative to the directory of the .vo file #8649
Labels
kind: enhancement
Enhancement to an existing user-facing feature, tactic, etc.
Milestone
Version
8.8.1
Operating system
Linux
Description of the problem
Currently
Redirect
does not work with relative paths. If I doRedirect "foo" Check I.
interactively, the filefoo.out
in the current directory gets written. However, if I put it in a.v
file that is not at top-level, and invokecoqc
on the.v
file, it gets written to the current working directory. This makesRedirect
effectively unusable in developments. I would like either an option or a variant ofRedirect
that takes the file path as relative to the location where the.vo
file is being output. Alternatively (perhaps better), I'd like a command which is "cd
to the directory where the.vo
file is being output", or "cd
to this directory relative to where the.vo
file is being output".See also #4953
The text was updated successfully, but these errors were encountered: