1
0
Fork 0
forked from fun/fun

Added tons of AI generated docs and a lot of cleanups. No code changes. (0.41.5)

This commit is contained in:
Johannes Findeisen 2026-05-01 02:20:25 +02:00
commit 4e69a3ce63
151 changed files with 3897 additions and 427 deletions

View file

@ -5,8 +5,17 @@
* Copyright 2025 Johannes Findeisen
* Licensed under the terms of the Apache-2.0 license.
* https://opensource.org/license/apache-2-0
*/
/**
* @file proc_system.c
* @brief Implements OP_PROC_SYSTEM to execute a shell command and return exit code.
*
* Added: 2025-10-02
* Behavior:
* - Pops command (string); executes it using system(3); pushes the process exit code (int) or -1 on failure.
*
* Errors:
* - If command is not a string or cannot be executed, returns -1.
*/
case OP_PROC_SYSTEM: {