|
From: | John Kearney |
Subject: | Re: [Help-bash] backgrounding a process sends it into a tailspin |
Date: | Wed, 12 Sep 2012 23:30:20 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
Am 12.09.2012 23:07, schrieb Chet
Ramey:
i have no idea if this might help but you could maybe tryOn 9/12/12 5:00 PM, Cook, Rich wrote:I think that starts putting me in the woods. gnuplot needs stdin or it is kind of useless to usWell, then why worry about the problem of putting it in the background anyway? You can't read from stdin in the background. If you just say it won't work in the background, and attempting to start it in the background is user error because it needs stdin, we're not having this conversation. assuming it problem isthat stdin is gone you could try pipein stdin thorough something that can deal with it. i.e. something like. while true; do read -rN1 s echo -n $s done |/usr/local/tools/gnuplot-4.4.3/bin/gnuplot.real "$@" |
[Prev in Thread] | Current Thread | [Next in Thread] |