bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proper use of nohup within here-document?


From: Mun
Subject: Proper use of nohup within here-document?
Date: Thu, 22 Mar 2018 09:26:39 -0700

Hi,

I'm using Bash version 4.1.2 on RedHat EL 6.8 (I realize these are old
releases).

In one of my bash scripts I have a here-document and at the end of
it's execution it will pop-up an gxmessage.  My problem is that when
the here-document exits, the gxmessage closes.

Within the here-document I'm essentially calling gxmessage thusly:
$ nohup gxmessage -timeout 0 -file abc.txt > /dev/null 2>&1 &

Any ideas on how I can allow the here-document to exit but allow the
gxmessage process to live on?

Thanks,

-- 
Mun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]