[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] backgrounding a process sends it into a tailspin
From: |
Dan Douglas |
Subject: |
Re: [Help-bash] backgrounding a process sends it into a tailspin |
Date: |
Fri, 07 Sep 2012 22:03:59 -0500 |
User-agent: |
KMail/4.8.3 (Linux/3.4.6-pf+; KDE/4.8.3; x86_64; ; ) |
On Friday, September 07, 2012 09:52:05 PM Dan Douglas wrote:
> Here is the same script with various issues corrected:
Appologies, I copy/pasted a version from the middle of what I was doing. This
is the right code:
#!/usr/bin/env bash
logger() {
if [[ -x $IMG_TRACK ]]; then
"$IMG_TRACK" "$1" gnuplot-4.4.3 "$BASH_SOURCE" "address@hidden"
fi
}
args=("$@")
: "${IMG_TRACK:=/usr/local/tools/imgtrack-1.0/bin/imgtrack}"
trap 'logger END' EXIT
logger BEGIN
/usr/local/tools/gnuplot-4.4.3/bin/gnuplot.real "$@"
--
Dan Douglas
signature.asc
Description: This is a digitally signed message part.
- [Help-bash] backgrounding a process sends it into a tailspin, Cook, Rich, 2012/09/07
- Re: [Help-bash] backgrounding a process sends it into a tailspin, Dan Douglas, 2012/09/07
- Re: [Help-bash] backgrounding a process sends it into a tailspin, Chet Ramey, 2012/09/11
- Re: [Help-bash] backgrounding a process sends it into a tailspin, Cook, Rich, 2012/09/11
- Re: [Help-bash] backgrounding a process sends it into a tailspin, Chet Ramey, 2012/09/11
- Re: [Help-bash] backgrounding a process sends it into a tailspin, Cook, Rich, 2012/09/11
- Message not available
- Message not available
- Message not available
- Re: [Help-bash] backgrounding a process sends it into a tailspin, Cook, Rich, 2012/09/11
- Re: [Help-bash] backgrounding a process sends it into a tailspin, John Kearney, 2012/09/11