How do you set the target output path and file name? Consider:

% SOF
\starttext
  Hello
\stoptext
% EOF

Save as $HOME/test.tex and then:

mkdir /tmp/subdir
context --result=/tmp/subdir/test.pdf $HOME/test.tex

Expected: PDF file is created in /tmp/subdir directory.

Actual: PDF file is created in $HOME directory.

Version: 2021.03.27 19:09

Thank you!