|
From: Cook, R. <co...@ll...> - 2012-09-10 19:56:24
|
I used an account using csh and it gets the same behavior, so it looks like there is something about gnuplot in particular that causes this and it's not sensitive to the shell. On Sep 10, 2012, at 12:50 PM, Cook, Rich wrote: > Almost the same thing happens if I use csh: > > #!/usr/bin/env csh > //usr/local/tools/gnuplot-4.4.3/bin/gnuplot.real > > Very slight differences, but basically hitting control-C then fg in this case still derails gnuplot. > My login shell is bash, so I suspect that's impacting things even when the script calls csh. > > On Sep 10, 2012, at 12:48 PM, Cook, Rich wrote: > >> Thanks for the idea, >> Still spins even with that very simple script. The following script exhibits the same behavior: >> >> #!/usr/bin/env bash >> //usr/local/tools/gnuplot-4.4.3/bin/gnuplot.real "$@" >> >> I am not giving any command line arguments to the script, so "$@" is evaluating to "" >> >> On Sep 8, 2012, at 12:46 PM, Robert Poor wrote: >> >>> Spinning on readline when put into the background sounds vaguely >>> familiar. To simplify things a bit, what happens in your environment >>> when you run the following script: >>> >>> #!/usr/bin/env bash >>> /usr/local/tools/gnuplot-4.4.3/bin/gnuplot.real "$@" >>> _value=$? >>> exit $_value >>> >>> ? >>> >>> And can you provide a minimal example of the command line args? >>> >>> - rdp >> >> -- >> ✐Richard Cook >> ✇ Lawrence Livermore National Laboratory >> Bldg-453 Rm-4024, Mail Stop L-557 >> 7000 East Avenue, Livermore, CA, 94550, USA >> ☎ (office) (925) 423-9605 >> ☎ (fax) (925) 423-6961 >> --- >> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept. >> (opinions expressed herein are mine and not those of LLNL) >> >> >> > > -- > ✐Richard Cook > ✇ Lawrence Livermore National Laboratory > Bldg-453 Rm-4024, Mail Stop L-557 > 7000 East Avenue, Livermore, CA, 94550, USA > ☎ (office) (925) 423-9605 > ☎ (fax) (925) 423-6961 > --- > Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept. > (opinions expressed herein are mine and not those of LLNL) > > > -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605 ☎ (fax) (925) 423-6961 --- Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept. (opinions expressed herein are mine and not those of LLNL) |