Added Execute function example
This commit is contained in:
parent
2d7e3a8cfc
commit
7bc1a333f4
14
src/core_os_execute.c
Normal file
14
src/core_os_execute.c
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#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;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user