C-Menu 0.2.9
A User Interface Toolkit
Loading...
Searching...
No Matches
exec.c File Reference

Functions to execute external commands. More...

#include <cm.h>
#include <errno.h>
#include <fcntl.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <termios.h>
#include <unistd.h>
Include dependency graph for exec.c:

Go to the source code of this file.

Functions

int full_screen_fork_exec (char **argv)
 Execute a command in full screen mode.
int full_screen_shell (char *shellCmdPtr)
 Execute a shell command in full screen mode.
int shell (char *shellCmdPtr)
 Execute a shell command.
int fork_exec (char **argv)
 Fork and exec a command.
int nf_error (int ec, char *s)
 Display error message and wait for key press.

Detailed Description

Functions to execute external commands.

Author
Bill Waller Copyright (c) 2025 MIT License billx.nosp@m.wall.nosp@m.er@gm.nosp@m.ail..nosp@m.com
Date
2026-02-09

Definition in file exec.c.