CARDS 2.4.87
Package manager for the NuTyX GNU/Linux distribution
process Class Reference

#include <libcards.h>

Public Member Functions

 process (const std::string &app, const std::string &args, int fileDescriptorLog=0)
 
void execute (const std::string &app, const std::string &arguments, int fileDescriptorLog=0)
 
int execute ()
 
int executeShell ()
 
std::string name ()
 
std::string args ()
 
 process (const std::string &app, const std::string &args, int fileDescriptorLog=0)
 
void execute (const std::string &app, const std::string &arguments, int fileDescriptorLog=0)
 
int execute ()
 
int executeShell ()
 
std::string name ()
 
std::string args ()
 

Detailed Description

To execute a process Arguments:

  1. Application to run
  2. Arguments to pass to the application
  3. File descriptor of the log file

Member Function Documentation

◆ args() [1/2]

std::string process::args ( )

return the arguments of the application

◆ args() [2/2]

string process::args ( )

return the arguments of the application

◆ execute() [1/2]

int process::execute ( )

execute the process return the exit status of the application

◆ execute() [2/2]

int process::execute ( )

execute the process return the exit status of the application

◆ executeShell() [1/2]

int process::executeShell ( )

execute the process using the shell return the exit status of the application

◆ executeShell() [2/2]

int process::executeShell ( )

execute the process using the shell return the exit status of the application

◆ name() [1/2]

std::string process::name ( )

return the name of the application

◆ name() [2/2]

string process::name ( )

return the name of the application


The documentation for this class was generated from the following files: