POV-Ray : Newsgroups : povray.advanced-users : povray for LINUX : Re: povray for LINUX Server Time
29 Jul 2024 20:28:01 EDT (-0400)
  Re: povray for LINUX  
From: Warp
Date: 16 Jan 2001 12:03:27
Message: <3a647ede@news.povray.org>
Peter Popov <pet### [at] vipbg> wrote:
: Hmm... make it use ps x | grep povray to find if povray is running. If
: it is, killall povray or kill it by pid (you know how to extract that
: info :) ). If it does not, run povray.

: Will this work?

  Perhaps, but it would be a good idea to send a SIGINT to povray instead
of SIGKILL (I think that's the default?), ie. "kill -s INT".
  Povray caches SIGINT and saves the currently calculated image (which may
be in a buffer) before terminating.
  (Well, actually I don't know if it also caches other signals...)

-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.