/Run-and-debug

A POSIX-compliant ncurses-based debugging run launcher.

Primary LanguageCMIT LicenseMIT

Run-and-debug

An ncurses based application giving a list of all executables in a directory, and giving the user an interactive prompt with them sorted alphabetically. Once you hit enter, the program from the top will launch inside the terminal will be the application's process number and stdout.

This application was designed to be very portable and posix-compliant. Tested operating systems are GNU/Linux and FreeBSD. The makefile includes options to compile in C or C++, and with either gcc or clang.

Build

To build the application in C with gcc, simply run:
make

For usage with g++, run:
make cpp

To compile with clang in C:
make c-clang

To complie with clang in C++:
make cpp-clang

By default the application uses st to launch terminal applications.