• Start shutter from .bashrc will trigger a zombie progress state of it.

    From hongyi.zhao@gmail.com@21:1/5 to All on Mon Sep 13 19:45:44 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kees Nuyt@21:1/5 to hongyi.zhao@gmail.com on Tue Sep 14 15:58:46 2021
    On Mon, 13 Sep 2021 19:45:44 -0700 (PDT), "hongy...@gmail.com" <hongyi.zhao@gmail.com> wrote:

    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?

    First step:
    Start it redirecting to a logfile instead of /dev/null and
    observe if any messages are issued to that file.

    Apart from that, this is probably not a shell problem, thus off
    topic here. Try shutter support.
    --
    Kees Nuyt

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)