Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.07 KB

File metadata and controls

43 lines (27 loc) · 1.07 KB

Windows No Console App Runner

This tool allows to run a console program or GUI program with console logging without a console. Or better said, with a hidden console.

Status

Ended

Why?

Avoid anoying console poping.

Use Process

Change the program path with the flags you want in the main.cpp file. Then compile with cmake, and then, you have your new app wrapper with no console.

Usage documentation

  • Clone the repo

  • Change the COMMAND_TO_RUN value with the desired app in the "main.cpp".

   #define COMMAND_TO_RUN "full/app/path --desired-flags here";
  • build the wrapper
   mkdir build
   cd build
   cmake .. -G Ninja
   cmake --build .
  • You can use any generator you want, but be careful with the binary path!
  • Rename and move the NoConsoleApp.exe binary from the build directory. Ready to use.

License

This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.

Support

If you encounter any issues or have questions, please file an issue on the GitHub issue tracker.