-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New vim-job based CallAsync doesn't handle complex commands correctly #205
Comments
ardagnir
added a commit
to ardagnir/vim-maktaba
that referenced
this issue
May 2, 2017
syscall functions assume shell-like behavior, but job_start doesn't use a shell. Fixes google#205
ardagnir
added a commit
to ardagnir/vim-maktaba
that referenced
this issue
May 2, 2017
syscall functions assume shell-like behavior, but job_start doesn't use a shell. Fixes google#205
ardagnir
added a commit
to ardagnir/vim-maktaba
that referenced
this issue
May 2, 2017
syscall functions assume shell-like behavior, but job_start doesn't use a shell. Fixes google#205
ardagnir
added a commit
to ardagnir/vim-maktaba
that referenced
this issue
May 2, 2017
syscall functions assume shell-like behavior, but job_start doesn't use a shell. Fixes google#205
ardagnir
added a commit
to ardagnir/vim-maktaba
that referenced
this issue
May 2, 2017
syscall functions assume shell-like behavior, but job_start doesn't use a shell. Fixes google#205
dbarnett
added a commit
that referenced
this issue
May 8, 2017
Changes since 1.14.0: * Implement maktaba#buffer#GetVisualSelection helper (#132). * Implement maktaba#log#GetFormattedEntries and support 1-arg log handler (see #204). * Notify user for messages logged at WARN or above by default (#185). * Fix Syscall.CallAsync failing for complex commands (#205). * Preserve trailing slash in maktaba#path#Split and MakeRelative (#137 and #175). * Fix 'maxfuncdepth' error in maktaba#json#Parse corner case (#153).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like the new job version of CallAsync is breaking up commands incorrectly.
Example of broken behavior:
let g:command = maktaba#syscall#Create(['echo', 'a']).And(['echo','b'])
g:command.Call (and CallAsync with vim jobs disabled) gives the correct stdout of "a\nb"
with vim jobs, g:command.CallAsync gives the incorrect stdout of "a && echo b"
The text was updated successfully, but these errors were encountered: