Function is_shell_command

Function Documentation

bool is_shell_command(const std::string &cmd)

Check if a command is a shell command that should be executed directly.

Parameters:

cmd – Command string to check

Returns:

true if the command is a shell command, false otherwise