BRL-CAD
#include "common.h"
#include <stdio.h>
#include "bu/defines.h"
Include dependency graph for process.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  bu_process_io_t { BU_PROCESS_STDIN , BU_PROCESS_STDOUT , BU_PROCESS_STDERR }
 

Functions

int bu_process_id (void)
 
int bu_terminate (int process)
 terminate a given process and any children. More...
 
FILE * bu_process_open (struct bu_process *pinfo, bu_process_io_t d)
 
void bu_process_close (struct bu_process *pinfo, bu_process_io_t d)
 
int bu_process_fileno (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_read (char *buff, int *count, struct bu_process *pinfo, bu_process_io_t d, int n)
 
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. More...
 
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. More...
 
int bu_interactive (void)
 detect whether or not a program is being run in interactive mode More...