19 lines
421 B
C
19 lines
421 B
C
#ifndef CCLITE_PROCESS_H
|
|
#define CCLITE_PROCESS_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int ccl_process_start(const char *command_line, void **out_handle);
|
|
int ccl_process_wait(void *handle, int timeout_ms, int *out_exit_code);
|
|
int ccl_process_is_running(void *handle, int *out_running);
|
|
int ccl_process_terminate(void *handle, int exit_code);
|
|
int ccl_process_close(void *handle);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|