Tyler, et al --

...and then Tyler Longren said...
% 
% Hello,
% 
% I have an smp machine that I want to run two instances of setiathome
% on.  I have two s@h directories (/root/.setiathome and
% /root/.setiathome2).  I wrote this to run both of them at the same time
% right from one script.  If I use the -a flag to run both of them, it
% never moves on to start the setiathome in $setiathome2_dir.

It looks like the s@h program does not automatically fork itself into the
background but instead runs in the foreground, so the first call never
finishes to allow the script to move on and make the second call.


% 
% How can I make it so both s@h clients get started?

I'd probably fork it for fun (by forking off one and making sure it
succeeds before forking off another and making sure it succeeds before
exiting), but putting each s@h in the background will probably do the
job just as effectively.


HTH & HAND

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg26196/pgp00000.pgp
Description: PGP signature

Reply via email to