Atom snap doesn't fork

Forwarding an issue which was filed against the snapcrafters repo a while back. We’ve not been able to identify why this happens.

Steps to reproduce.

snap install atom --classic

Typically (when installed as a deb) atom forks, and leaves you with a clean prompt. The snap however produces this and does not fork.

bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

There is no output in dmesg or scanlog. This is my snap version, but it’s been the case forever.

$ snap version
snap    2.29.2
snapd   2.29.2
series  16
ubuntu  16.04
kernel  4.10.0-38-generic

Any ideas what’s going on and how we can fix this?