This is my first Windows Forms application and I wanted to post it on GitHub for everyone to check it out.
- Check our Releases page to download the latest release.
- Extract the .zip file anywhere.
- Run the file
Console App Logger.exe
.
- Press "Open File..." to choose an applicable .exe file.
- Press "Start Process" to begin the selected process.
- Press "Save log to file" to save the log without having to stop the process.
- Press "Stop Process" to stop the process.
- Use the command line to send commands to the running process.
- Dump log to file: If checked, the program will save the log to a file upon exit.
- Include timestamps in log: If checked, the program will include the time and date for every line in the log.
- Minimize to tray: If checked, the program will minimize to the system tray when the user presses the X/Close button.
- Download the Source Code zip.
- Use Visual Studio 2022.
- Set "Console App Logger" to the startup project.
- In Solution Explorer, highlight the "Console App Logger" project and right-click on it.
- In the popup menu, click "Set As Startup Project".
- "Kill Process" in the system tray dialog does nothing.
- Input lines will not appear in the log until after an input is entered.
- Code:
set /p cho=Enter:
(from .bat file converted to .exe) - Expected Output:
Enter:
- Code:
- Output log does not automatically scroll.
- If the program is terminated abruptly, the console app may continue running in the background.
- Program will throw an exception if the user attempts to send a command while a process isn't running.
- Add support for .bat and maybe .cmd files.
- Add support for multiple console apps running simultaneously.