raylib/examples/core/core_os_execute.c
2020-06-12 20:57:37 +03:00

16 lines
No EOL
402 B
C

// Written by Rabia Alhaffar in 12/June/2020
#include <raylib.h>
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;
}