mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
@@ -471,6 +471,10 @@ end
|
||||
|
||||
--- Runs a system command or throws an error if {cmd} cannot be run.
|
||||
---
|
||||
--- The command runs directly (not in 'shell') so shell builtins such as "echo" in cmd.exe, cmdlets
|
||||
--- in powershell, or "help" in bash, will not work unless you actually invoke a shell:
|
||||
--- `vim.system({'bash', '-c', 'help'})`.
|
||||
---
|
||||
--- Examples:
|
||||
---
|
||||
--- ```lua
|
||||
|
Reference in New Issue
Block a user