MarkOates / blast

0 stars 0 forks source link

Add ShellCommandExecutor #1

Closed MarkOates closed 6 years ago

MarkOates commented 6 years ago

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.