Process
This commit is contained in:
@ -117,7 +117,7 @@ int main(int argc,char** argv)
|
|||||||
auto path = Environment::GetRealExecutablePath(args[0]);
|
auto path = Environment::GetRealExecutablePath(args[0]);
|
||||||
Platform::Process p(path.ToString(),args);
|
Platform::Process p(path.ToString(),args);
|
||||||
if (p.Start())
|
if (p.Start())
|
||||||
p.WaitForExit();
|
p.WaitForExit();
|
||||||
else
|
else
|
||||||
std::cout << "Failed To Run Process: " << path.ToString() << std::endl;
|
std::cout << "Failed To Run Process: " << path.ToString() << std::endl;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
#include "TessesFramework/Platform/Environment.hpp"
|
#include "TessesFramework/Platform/Environment.hpp"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user