parseEditorArgs parses POSIX shell-style command line arguments into a slice of strings suitable for exec.Command.
(cmd string)
| 10 | // parseEditorArgs parses POSIX shell-style command line arguments |
| 11 | // into a slice of strings suitable for exec.Command. |
| 12 | func parseEditorArgs(cmd string) ([]string, error) { |
| 13 | return shellquote.Split(cmd) |
| 14 | } |
no outgoing calls