diff options
author | Nicolas Hillegeer <nicolas@hillegeer.com> | 2014-07-21 22:49:17 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-07-27 14:00:44 -0300 |
commit | 3d3b233df8a5366180709435bbf77c0d0c48e380 (patch) | |
tree | 6375bbf42d64c50b9ed5d6b2be5b8d48d74c66ee /runtime/compiler/php.vim | |
parent | 5e0931241d85eb2c0ef4b2bede70c42d7d0b23ba (diff) | |
download | rneovim-3d3b233df8a5366180709435bbf77c0d0c48e380.tar.gz rneovim-3d3b233df8a5366180709435bbf77c0d0c48e380.tar.bz2 rneovim-3d3b233df8a5366180709435bbf77c0d0c48e380.zip |
os/shell: implement os_system
With the goal to support pipe-only system() calls.
Notes on the second (vim) argument to f_system() (i.e.: redirected input)
and its implications:
- When calling system('cat -', ['some', 'list']), vanilla vim (before a
recent patch that added support for passing lists) just passes an empty
file to the process. This is the same as immediately closing the pipe,
which os_system does when no input is given. If we wouldn't close the
pipe, the process will linger forever (as is the case with `cat -`).
As of now, it's not allowed to pass a non-NULL pointer as the `output`
parameter. In other words, it's not possible to signal disinterst in the
process output. That may change in the future.
Diffstat (limited to 'runtime/compiler/php.vim')
0 files changed, 0 insertions, 0 deletions