|
Arkanjo 0.2
A tool for find code duplicated functions in codebases
|
#include <os_utils.hpp>
Static Public Member Functions | |
| static bool | is_bg_color_dark () |
| Determines if terminal background color is dark. | |
| static int | run_process (const char *cmd, char *const argv[]) |
| Executes an external program, replacing the current process (exec-style). | |
Definition at line 19 of file os_utils.hpp.
|
static |
Determines if terminal background color is dark.
Definition at line 93 of file posix_utils.cpp.
|
static |
Executes an external program, replacing the current process (exec-style).
This function launches an external command using the given executable name and argument list.
| cmd | Name of the executable (e.g., "git", "ls") |
| argv | Argument vector in C-style format (null-terminated). Example: {"git", "status", nullptr} |
Definition at line 97 of file posix_utils.cpp.