Describe the bug
In Vim9 script, we cannot use system() to start an external process, without the optional argument {input}.
To Reproduce
Run this shell command:
vim -Nu NONE +'vim9 system(":")'
E1224 is given:
E1224: String or List required for argument 2
Expected behavior
No error is given, because we didn't pass the 2nd optional argument.
Environment
Additional context
Regression introduced in 8.2.3229.
Same issue with systemlist():
vim9script systemlist(':')
E1224: String or List required for argument 2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
Describe the bug
In Vim9 script, we cannot use
system()to start an external process, without the optional argument{input}.To Reproduce
Run this shell command:
vim -Nu NONE +'vim9 system(":")'
E1224is given:E1224: String or List required for argument 2Expected behavior
No error is given, because we didn't pass the 2nd optional argument.
Environment
- Vim version: 8.2 Included patches: 1-3229
- OS: Ubuntu 20.04.2 LTS
- Terminal: XTerm(353)
Additional context
Regression introduced in 8.2.3229.
Same issue with
systemlist():vim9script systemlist(':')E1224: String or List required for argument 2