using open3 to execute the command