42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
exec.c File Reference

The file containing the exec functions. More...

Functions

int exec_command (mysh_t *mysh)
 Execute the command.
 

Detailed Description

The file containing the exec functions.

Function Documentation

◆ exec_command()

int exec_command ( mysh_t * mysh)

Execute the command.

The exec command builtin.

Parameters
myshThe shell structure
Returns
int 0 if the command succeed, 1 otherwise