On 06/04/10 22:27, Hans-Bernhard Bröker wrote:
> plotter@... wrote:
>> I have a cgi responder written in C that works fine when running
>> gnuplot directly but if I add "&" to the command string it fails.
> Well, so don't do that, then!
Well that one approach, I'd rather debug the problem.
> Whatever did you hope to achieve by that, in the first place?
I was "hoping" for exactly what I have had working for the last two
years. Calling gnuplot NON-INTERACTIVELY to plot some real-time data.
>> Why is gnuplot failing when I detach the process?
> Possibly because non-interactive shells don't support backgrounding
> interactive processes?
Your attempts at being a sarcastic smart-arse would look less stupid if
you did not make sweeping assumptions. No where did I suggest I was
running gnuplot interactively.
Ethan's suggestion has enabled me to establish that this problem is more
general than the call to gnuplot. So I won't discuss this further on