Wrap some functions & escape execv arguments