blob: 1805632399028c612bea3e4dc38b1835f9026893 (
plain) (
tree)
|
|
#ifndef _IXIMIUZ_POPEN2
#define _IXIMIUZ_POPEN2
#include<stdio.h>
//https://github.com/iximiuz/popen2
//https://iximiuz.com/en/posts/how-to-on-processes/
struct files_t {
FILE *in;
FILE *out;
};
struct files_t *popen2(const char *command);
int pclose2(struct files_t *fp);
#endif // _IXIMIUZ_POPEN2
|