123BU_EXPORT
int bu_process_args(
const char **cmd,
const char *
const **argv,
struct bu_process *pinfo);
142BU_EXPORT
extern void bu_process_exec(
struct bu_process **info,
const char *cmd,
int argc,
const char **argv,
int out_eql_err,
int hide_window);
153 BU_EXPORT
extern int bu_process_wait(
int *aborted,
struct bu_process *pinfo,
int wtime);
Header file for the BRL-CAD common definitions.
int bu_process_fileno(struct bu_process *pinfo, bu_process_io_t d)
void bu_process_exec(struct bu_process **info, const char *cmd, int argc, const char **argv, int out_eql_err, int hide_window)
Wrapper for executing a sub-process.
int bu_interactive(void)
detect whether or not a program is being run in interactive mode
int bu_process_read(char *buff, int *count, struct bu_process *pinfo, bu_process_io_t d, int n)
int bu_terminate(int process)
terminate a given process and any children.
void bu_process_close(struct bu_process *pinfo, bu_process_io_t d)
FILE * bu_process_open(struct bu_process *pinfo, bu_process_io_t d)
int bu_process_pid(struct bu_process *pinfo)
int bu_process_args(const char **cmd, const char *const **argv, struct bu_process *pinfo)
int bu_process_wait(int *aborted, struct bu_process *pinfo, int wtime)
wait for a sub-process to complete, release all process allocations, and release the process itself.