[clug] Launch gnome-terminal to launch daemon process

Andrew Janke a.janke at gmail.com
Tue Aug 25 02:38:14 UTC 2015


On 25 August 2015 at 12:22, Hal Ashburner <hal at ashburner.info> wrote:
> Why doesn't a regular double fork work?
> Why doesn't disowning the process work?
> What on earth is going on? Does gnome-terminal somehow break unix?

I think the answers to the above questions is that I don't think the
disown is doing what you want in the --command argument and the -a
would mean that you aren't getting an error. I haven't tested but I
don't think that quoting is getting you. I'd use the -x argument over
--command to check.

   gnome-terminal -x /usr/bin/python /opt/ark/bin/hgview | run now

(I think the pipe will do the wrong thing here though).

I don't see what your extra fork(s) in the command argument is achieving
beyond in this case probably more confusion.


a



More information about the linux mailing list