Cadabra
Computer algebra system for field theory problems
Macros | Functions
popen2.cc File Reference
#include "popen2.hh"
#include <sys/wait.h>
#include <stdexcept>

Macros

#define READ   0
 
#define WRITE   1
 

Functions

FILE * popen2 (std::string command, std::string type, int &pid)
 
int pclose2 (FILE *fp, pid_t pid)
 

Macro Definition Documentation

◆ READ

#define READ   0

◆ WRITE

#define WRITE   1

Function Documentation

◆ pclose2()

int pclose2 ( FILE *  fp,
pid_t  pid 
)

◆ popen2()

FILE* popen2 ( std::string  command,
std::string  type,
int &  pid 
)