Let's say there is a file
\\server-42\tmp\dir\test.txt. When my plugin tries to execute this command via
system() it triggers an error:
cd "\\server-42\tmp\dir" && git ls-files --error-unmatch --full-name test.txt
The error is
E484: Can't open file C:\Users\foo\AppData\Local\Temp\blah.tmp.
The directory is produced by
shellescape(fnamemodify(filepath, ':h'), where
filepath is the full path to file. The file is produced by
How can I get this to work?
Many thanks in advance!