Execute the command an append a segment to the specified path
the path to append the result to
the context to lookup variables