print to exec