making trace not read from the pipe, but rather take a string parameter with the command to evaluate