/// returns true iff the program has a tty
static int HasTTY();
CREA_EXPORT static int GetAppPath(char *pname, size_t pathsize);
/// returns true iff the program has a tty
static int HasTTY();
CREA_EXPORT static int GetAppPath(char *pname, size_t pathsize);