Quash Shell  0.1
A simple yet powerfull shell program
Public Attributes | List of all members
CommandHolder Struct Reference

Contains information about the properties of the command. More...

#include <command.h>

Public Attributes

char * redirect_in
 
char * redirect_out
 
char flags
 
Command cmd
 

Detailed Description

Contains information about the properties of the command.

See also
REDIRECT_IN, REDIRECT_OUT, REDIRECT_APPEND, PIPE_IN, PIPE_OUT, BACKGROUND, Command

Member Data Documentation

Command CommandHolder::cmd

A Command to hold

char CommandHolder::flags

A set of bits that hold information about how to execute the command. The properties can be extracted from the flags field by using a bit-wise & (i.e. flags & PIPE_IN) are macro defined as:

  • REDIRECT_IN
  • REDIRECT_OUT
  • REDIRECT_APPEND
  • PIPE_IN
  • PIPE_OUT
  • BACKGROUND
char* CommandHolder::redirect_in

Redirect standard in of this command to a file name redirect_in

char* CommandHolder::redirect_out

Redirect standard out of this command to a file name redirect_out


The documentation for this struct was generated from the following file: