Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | refactor(vim.system): factor out on_exit handling | Lewis Russell | 2023-09-05 |
| | |||
* | fix(vim.system): make timeout work properly | Lewis Russell | 2023-09-05 |
| | | | | Mimic the behaviour of timeout(1) from coreutils. | ||
* | fix(vim.system): let on_exit handle cleanup after kill | Lewis Russell | 2023-09-05 |
| | | | | Fixes #25000 | ||
* | feat(lua): add `vim.system()` | Lewis Russell | 2023-06-07 |
feat(lua): add vim.system() Problem: Handling system commands in Lua is tedious and error-prone: - vim.fn.jobstart() is vimscript and comes with all limitations attached to typval. - vim.loop.spawn is too low level Solution: Add vim.system(). Partly inspired by Python's subprocess module Does not expose any libuv objects. |