Perform validation of a string with an external command.
The first argument of this function should be a string to
test, and the second argument should be a path to a test command
Perform validation of a string with an external command.
The first argument of this function should be a string to
test, and the second argument should be a path to a test command