Feature: Add command execution on child processes feature

Temporary: Add configuration sample for forward compatibility
This commit is contained in:
0x221E
2026-01-17 18:21:08 +01:00
parent e61af99a0c
commit 1b889b7625
6 changed files with 114 additions and 6 deletions

24
src/command.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef COMMAND_H
#define COMMAND_H
#include "string.h"
typedef struct Arena Arena;
typedef struct Discovery Discovery;
typedef struct Configuration Configuration;
struct Command
{
Arena* a;
StringView app;
const char** args;
};
typedef struct Argument Argument;
typedef struct Command Command;
Command command_create(Arena* a, Discovery* d, Configuration* c);
int command_run(Command* cmd);
#endif