no-overseer.cpp File Reference

#include <stdlib.h>
#include <stdarg.h>
#include <qapplication.h>
#include "scripts.h"
#include "process.h"
#include "info.h"
Include dependency graph for no-overseer.cpp:

Functions

ExitStatus exec (const char *script, const char *description)
int spawn (const char *script, const char *description)

Function Documentation

ExitStatus exec ( const char *  script,
const char *  description 
)

Performs a synchronous execution of the exec process

Referenced by About::About(), execute(), start_cp(), start_mkdir(), and vexec().

int spawn ( const char *  ,
const char *  descr 
)

Will branch of a new process to execute the provided script. The return value is a local process id of the child.

A vfork should work slightly faster We don't care about a new task structure anyway

If we use exit instead of _exit our own static data structures will be destroyed ! Of course this routine is only necessary when there was an error becoming something else.

Referenced by bpmdjraw(), SongSelectorLogic::doOnlineHelp(), SongSlot::setup(), and spawn().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2