use cwd for exec