tiny-shell 0.2
A mini shell project aiming to gain knowledge about Win32 and Linux API
Loading...
Searching...
No Matches
launch_executable.h File Reference
#include "../core/args.h"
#include "../os/operations.h"
#include "res.h"
Include dependency graph for launch_executable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Function Documentation

◆ run_launch_executable()

enum run_result run_launch_executable ( const struct args args)

Run the executable foreground.

Definition at line 4 of file launch_executable.c.

4 {
5 bool result = launch_executable(args);
6 return result ? RUN_OK : RUN_FAILED;
7}
bool launch_executable(const struct args args)
Launch the executable.
@ RUN_OK
Definition res.h:7
@ RUN_FAILED
Definition res.h:9
Result after parsing an arbitrary string.
Definition args.h:10

References launch_executable(), 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: