Added Execute function
This commit is contained in:
parent
c9616a63cf
commit
37ce63878e
|
|
@ -1207,6 +1207,15 @@ const char *GetOS(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
void Execute(const char *command)
|
||||
{
|
||||
#ifdef __ANDROID__ || TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR || TARGET_OS_EMBEDDED
|
||||
return NULL;
|
||||
#else
|
||||
system(command);
|
||||
#endif
|
||||
}
|
||||
|
||||
// Show mouse cursor
|
||||
void ShowCursor(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -899,6 +899,7 @@ RLAPI const char *GetMonitorName(int monitor); // Get the hum
|
|||
RLAPI const char *GetClipboardText(void); // Get clipboard text content
|
||||
RLAPI void SetClipboardText(const char *text); // Set clipboard text content
|
||||
RLAPI const char *GetOS(void); // Get current operating system
|
||||
RLAPI void Execute(const char *command); // Executes a command from batch or shell
|
||||
|
||||
// Cursor-related functions
|
||||
RLAPI void ShowCursor(void); // Shows cursor
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user