Use exec instead of spawn for transform commands