ShellCommandExecutor is a simple class that takes a shell command, executes it, and returns the output as a string.
Naturally, this would only be used for commands that have a simple command-and-output interface. Nevertheless, it can be incredibly useful for running system commands within a C++ program.
ShellCommandExecutor
is a simple class that takes a shell command, executes it, and returns the output as a string.Naturally, this would only be used for commands that have a simple command-and-output interface. Nevertheless, it can be incredibly useful for running system commands within a C++ program.