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