[PATCH] intermediate helper for executing shell code