tiny-shell 0.2
A mini shell project aiming to gain knowledge about Win32 and Linux API
Loading...
Searching...
No Matches
minibat.c File Reference
#include "minibat.h"
Include dependency graph for minibat.c:

Go to the source code of this file.

Functions

enum run_result run_minibat (const struct args args)
 Run the executable foreground.
 

Function Documentation

◆ run_minibat()

enum run_result run_minibat ( const struct args args args )

Run the executable foreground.

Definition at line 3 of file minibat.c.

3 {
4 bool result = minibat(args);
5 return result ? RUN_OK : RUN_FAILED;
6}
bool minibat(const struct args args)
Launch shell executable and execute the file specified by args.argv[0]
@ RUN_OK
Definition res.h:7
@ RUN_FAILED
Definition res.h:9
Result after parsing an arbitrary string.
Definition args.h:10

References minibat(), RUN_FAILED, and RUN_OK.

Referenced by invoke_runner().

Here is the call graph for this function:
Here is the caller graph for this function: