i have the following function
async function zip() { execSync('zip -r something.zip something', { cwd: './', }) }
how to to console log "success" if the process is done, and "fail" if it returns an error