This commit is contained in:
Krzosa Karol
2024-01-05 16:11:14 +01:00
parent 150a775278
commit 6458e6ab9a

View File

@@ -62,11 +62,7 @@ int main(int argument_count, char **arguments) {
// Run the build file // Run the build file
double time = OS_GetTime(); double time = OS_GetTime();
if (build_file.str) { if (build_file.str) {
#if OS_WINDOWS int result = OS_SystemF("%s%Q", IF_WINDOWS_ELSE("", "./"), exe_name);
int result = OS_SystemF("%Q", exe_name);
#else
int result = OS_SystemF("./%Q", exe_name);
#endif
if (result != 0) { if (result != 0) {
printf("FAILED execution of the build file!\n"); printf("FAILED execution of the build file!\n");
return result; return result;