2015-01-10 16:25:06 +01:00
|
|
|
#ifdef __DJGPP__
|
|
|
|
/* They exist in DOS */
|
|
|
|
#include <process.h>
|
|
|
|
#else
|
|
|
|
/* Specially defined for UNIX and Cygwin */
|
2015-01-10 16:25:09 +01:00
|
|
|
int spawnv (int mode, const char *path, char *const argv[]);
|
|
|
|
int spawnvp (int mode, const char *path, char *const argv[]);
|
2015-01-10 16:25:06 +01:00
|
|
|
|
|
|
|
#define P_WAIT 1
|
2015-01-10 16:25:09 +01:00
|
|
|
#define P_NOWAIT 2 /* always generates error for DJGPP! */
|
2015-01-10 16:25:06 +01:00
|
|
|
#define P_OVERLAY 3
|
|
|
|
|
|
|
|
#endif
|