First working implementation of VideoStreamer

This commit is contained in:
brunoherbelin
2020-10-17 11:32:29 +02:00
parent 007d876dbc
commit 59c07ceb96
9 changed files with 350 additions and 7 deletions

View File

@@ -314,5 +314,16 @@ void SystemToolkit::open(const string& url)
#endif
}
void SystemToolkit::execute(const string& command)
{
#ifdef WIN32
ShellExecuteA( nullptr, nullptr, url.c_str(), nullptr, nullptr, 0 );
#elif defined APPLE
int r = system( command.c_str() );
#else
int r = system( command.c_str() );
#endif
}