Implements product_run_cmd function
Lets the test extension use product_run_cmd