Function gnunet_sys::GNUNET_OS_command_run [−][src]
pub unsafe extern "C" fn GNUNET_OS_command_run(
proc_: GNUNET_OS_LineProcessor,
proc_cls: *mut c_void,
timeout: GNUNET_TIME_Relative,
binary: *const c_char,
...
) -> *mut GNUNET_OS_CommandHandle
Run the given command line and call the given function for each line of the output.
@param proc function to call for each line of the output @param proc_cls closure for proc @param timeout when to time out @param binary command to run @param … arguments to command @return NULL on error