* Provides program execution operations similart to system()
* TODO: I should implement a function that will find the program based on PATH so that static paths do not have to be used
*/
-#include <level_1/execute.h>
+#include <level_2/execute.h>
#ifdef __cplusplus
extern "C"{
#endif
-#ifndef _di_fl_execute_path_
- f_return_status fl_execute_path(const f_string program_path, const f_dynamic_strings arguments, f_s_int *results){
+#ifndef _di_fll_execute_path_
+ f_return_status fll_execute_path(const f_string program_path, const f_dynamic_strings arguments, f_s_int *results){
#ifndef _di_level_1_parameter_checking_
if (results == f_null) return f_invalid_parameter;
return f_none;
}
-#endif // _di_fl_execute_path_
+#endif // _di_fll_execute_path_
#ifdef __cplusplus
} // extern "C"
*
* Provides program execution operations similar to system()
*/
-#ifndef _FL_execute_h
-#define _FL_execute_h
+#ifndef _FLL_execute_h
+#define _FLL_execute_h
// libc includes
#include <unistd.h>
#include <level_0/errors.h>
#include <level_0/memory.h>
+// fll-1 includes
+
#ifdef __cplusplus
extern "C"{
#endif
-#ifndef _di_fl_execute_path_
+#ifndef _di_fll_execute_path_
// This will execute a program given some path + program name (such as "/bin/bash")
- extern f_return_status fl_execute_path(const f_string program_path, const f_dynamic_strings arguments, f_s_int *results);
-#endif // _di_fl_execute_path_
+ extern f_return_status fll_execute_path(const f_string program_path, const f_dynamic_strings arguments, f_s_int *results);
+#endif // _di_fll_execute_path_
-#ifndef _di_fl_execute_program_
+#ifndef _di_fll_execute_program_
// This will find the program based on PATH environment so that static paths do not have to be used as with f_execute_path
- extern f_return_status fl_execute_program(const f_string program_name, const f_string arguments[], f_s_int *results);
-#endif // _di_fl_execute_program_
+ extern f_return_status fll_execute_program(const f_string program_name, const f_string arguments[], f_s_int *results);
+#endif // _di_fll_execute_program_
#ifdef __cplusplus
} // extern "C"
#endif
-#endif // _FL_execute_h
+#endif // _FLL_execute_h