From 7bc1a333f422fd9c3d468df345fc02f5f3b0f0de Mon Sep 17 00:00:00 2001 From: Rabia Alhaffar Date: Fri, 12 Jun 2020 20:54:58 +0300 Subject: [PATCH] Added Execute function example --- src/core_os_execute.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/core_os_execute.c diff --git a/src/core_os_execute.c b/src/core_os_execute.c new file mode 100644 index 000000000..faa73c5fb --- /dev/null +++ b/src/core_os_execute.c @@ -0,0 +1,14 @@ +#include + +int main(void) { + InitWindow(0,0,"Execute"); + Execute("mkdir made_with_example"); + while(!WindowShouldClose()) { + BeginDrawing(); + ClearBackground(RAYWHITE); + DrawText("Command executed successfully!!!",10,10,32,BLACK); + EndDrawing(); + } + CloseWindow(); + return 0; +} \ No newline at end of file