run retext baz.md &: it works, but it shouldn't, because baz.md is not in current directory, but in subdir/baz.md
run retext foo.md &: it doesn't work, but it should, because foo.md is in current directory
if the filename given on command-line is relative, it should be fully resolved by the new retext process before sending it via IPC to the existing retext process, instead of being resolved in the existing process relatively to currently open file
have 3 md files:
then
retext subdir/bar.md &
: it worksretext baz.md &
: it works, but it shouldn't, becausebaz.md
is not in current directory, but insubdir/baz.md
retext foo.md &
: it doesn't work, but it should, becausefoo.md
is in current directoryif the filename given on command-line is relative, it should be fully resolved by the new retext process before sending it via IPC to the existing retext process, instead of being resolved in the existing process relatively to currently open file