I try to start shutter [1] from .bashrc with the following code snippet:
if type -fp shutter >/dev/null && ! ps h -C shutter >/dev/null; then
nohup shutter --min_at_startup &> /dev/null &
fi
But I always failed to start it with the following result:
$ ps h -C shutter
2012236 tty5 Z+ 0:00 [shutter] <defunct>
[1]
https://github.com/shutter-project/shutter
Any hints for this problem?
Regards,
HY