diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 53cca32fe..3e65b5daa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,7 +46,10 @@ jobs: run: | cd resources/testproject ..\..\build\${{ matrix.build_type }}\c3c.exe --debug-log run hello_world_win32 + dir build ..\..\build\${{ matrix.build_type }}\c3c.exe clean + dir build + - name: Build testproject lib run: | diff --git a/src/utils/file_utils.c b/src/utils/file_utils.c index 7df5a7b7a..cbacd541a 100644 --- a/src/utils/file_utils.c +++ b/src/utils/file_utils.c @@ -485,7 +485,7 @@ bool file_delete_all_files_in_dir_with_suffix(const char *path, const char *suff { assert(path); #if (_MSC_VER) - const char *cmd = "del /q \"%s\\*%s\""; + const char *cmd = "del /q \"%s\\*%s\" 2>nul"; #else const char *cmd = "rm -f %s/*%s"; #endif