From https://github.com/rstudio/rstudio/pull/11201#issuecomment-1128685959

With this R code: 

```r
dir.create(tf <- tempfile()); 
dir.create(file.path(tf, "sub"))

main <- file.path(tf, "main.qmd")
writeLines("---\ntitle: quarto document\n---\n", main)

sub <- file.path(tf, "sub", "sub.qmd")
writeLines("---\ntitle: quarto document\n---\n", sub)

writeLines('project:\n  title: "test"\n', file.path(tf, "_quarto.yml"))

system(paste0("quarto inspect ", tf, "/main.qmd | grep project"))  
system(paste0("quarto inspect ", tf, "/sub/sub.qmd | grep project"))  
```

getting: 

```
> system(paste0("quarto inspect ", tf, "/main.qmd | grep project"))  
  "project": "../../../private/tmp/RtmpAMjixD/file1842c7157d908"
> system(paste0("quarto inspect ", tf, "/sub/sub.qmd | grep project"))  
  "project": "../../../../private/tmp/RtmpAMjixD/file1842c7157d908"
```

In https://github.com/rstudio/rstudio/pull/11201#issuecomment-1128685959 I worked around it by by using `workingDir` but I was wondering if this was an issue. 

```
% quarto --version
0.9.415
```
2022-05-17T10:24:17Z
romainfrancois
Future
open
`quarto inspect` and temporary directories
https://github.com/quarto-dev/quarto-cli/issues/906