Closed Chaitanyabsprip closed 3 years ago
This appears to be a general vim issue. My expectation is that any call to systemlist()
with an input
argument will see this issue.
The docs for :help system
say: "When {input} is given and is a string this string is written to a file and passed as stdin to the command."
If there is a problem using temp files to pass the stdin, or perhaps reading for the stdout, then you'd see a problem like this.
You should be able to verify this is the problem by running :echo system('cat', 'foo')
(or similar, this assumes you have a cat
executable in your path) and verify you can get the output. Assuming that has an error you will need to get help from the vim project maintainers.
For instance there may be an issue with setting the shell
setting. See https://stackoverflow.com/questions/11629484/vim-temporary-files-with-native-vim-on-windows
this is the error it is giving.
I am using Windows 10.
Vim version