In my adventures with disown, I also discovered that in zsh, program &! starts and immediately backgrounds and disowns the program, so you can close the shell without the program getting a SIGHUP.

Other online sources said &| does this. My crude tests found no difference.

How do &! and &| differ?

1 Answer 1


Turns out they really are equivalent, according to man zshbuiltins (section "disown"): simply syntactic alternatives for the same operation.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .