Added tons of AI generated docs and a lot of cleanups. No code changes. (0.41.5)
This commit is contained in:
parent
24c54fba41
commit
4e69a3ce63
151 changed files with 3897 additions and 427 deletions
|
|
@ -5,8 +5,18 @@
|
|||
* Copyright 2025 Johannes Findeisen
|
||||
* Licensed under the terms of the Apache-2.0 license.
|
||||
* https://opensource.org/license/apache-2-0
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file proc_run.c
|
||||
* @brief Implements OP_PROC_RUN to execute a shell command and capture stdout.
|
||||
*
|
||||
* Added: 2025-10-02
|
||||
* Behavior:
|
||||
* - Pops command (string); runs it via the platform shell; pushes a map {"out": string, "code": int}.
|
||||
* - "code" is the process exit status if available, otherwise -1.
|
||||
*
|
||||
* Errors:
|
||||
* - On allocation failures or popen errors, returns {out: "", code: -1}.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue