int exec_system_command(Application_Links *app, View_Summary *view, Buffer_Identifier buffer, char *path, int path_len, char *command, int command_len, unsigned int flags)
-DOC_PARAM(view, the target view that will display the output buffer, may be NULL, see description for details)
-DOC_PARAM(buffer, a buffer identifier for the buffer that will be filled with the output from the command)
-DOC_PARAM(path, the path from which the command is executed)
-DOC_PARAM(path_len, the length of the path string)
-DOC_PARAM(command, the command to be executed)
-DOC_PARAM(command_len, the length of the command string)
-DOC_PARAM(flags, may be zero or one or more CLI flags ORed together)
-DOC_RETURN(returns non-zero if the command is successfully started, returns zero otherwise)
-DOC
-(
-Executes a system command as if called from the command line, and sends the output to a buffer. The buffer
+
int exec_system_command(
+
Application_Links *app,
View_Summary *view,
Buffer_Identifier buffer,
char *path,
int path_len,
char *command,
int command_len,
unsigned int flags
)
+
+
Parameters
+
view
+
the target view that will display the output buffer, may be NULL, see description for details
+
+
+
buffer
+
a buffer identifier for the buffer that will be filled with the output from the command
+
+
+
path
+
the path from which the command is executed
+
+
+
path_len
+
the length of the path string
+
+
+
command
+
the command to be executed
+
+
+
command_len
+
the length of the command string
+
+
+
flags
+
may be zero or one or more CLI flags ORed together
+
+
Return
returns non-zero if the command is successfully started, returns zero otherwise
Description
Executes a system command as if called from the command line, and sends the output to a buffer. The buffer
identifier can either name a new buffer that does not exist, name a buffer that does exist, or provide the
id of a buffer that does exist. If the buffer already exists the command will fail, unless
CLI_OverlapWithConflict is set in the flags.
@@ -199,580 +221,735 @@ If CLI_AlwaysBindToView is set and the view parameter is not NULL, then the spec
begin displaying the output buffer, even if another open view already displays that buffer.
If CLI_CursorAtEnd is set the cursor in the output buffer will be placed at the end of the buffer instead
-of at the beginning.
-)
-
-
+of at the beginning.