0

I have wsl - ubuntu installed under Windows 10. Some ubuntu's commands are proxied to use in cmd by create .bat files and add them to PATH environment of windows10, pattern like following:

@echo off
bash.exe -c "ls %*"

Then in cmd ls work as expected, log in bash, run ls in current directory.

Problem is that, asyncrun throws an error output when I try to run, for i.e: :AsyncRun ls.

I am using gVim 8.1 1-42

EDIT: add error output:

|| E
|| r
|| r
|| o
|| r
|| :
|| 
|| 0
|| x
|| 8
|| 0
|| 0
|| 7
|| 0
|| 0
|| 0
|| 6
|| 
|| 
|| 
|| [Finished in 0 seconds with code -1]
  • Which error do you get? Does :!ls work? – Martin Tournoij Jun 21 '18 at 12:01
  • @MartinTournoij: :!ls work perfect, that's why I wonder. – Tuyen Pham Jun 21 '18 at 12:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.