tiny-shell 0.2
A mini shell project aiming to gain knowledge about Win32 and Linux API
Loading...
Searching...
No Matches
minibat.c
Go to the documentation of this file.
1#include "minibat.h"
2
3enum run_result run_minibat(const struct args args) {
4 bool result = minibat(args);
5 return result ? RUN_OK : RUN_FAILED;
6}
enum run_result run_minibat(const struct args args)
Run the executable foreground.
Definition minibat.c:3
bool minibat(const struct args args)
Launch shell executable and execute the file specified by args.argv[0]
run_result
Result of the execution of a command line.
Definition res.h:6
@ RUN_OK
Definition res.h:7
@ RUN_FAILED
Definition res.h:9
Result after parsing an arbitrary string.
Definition args.h:10