Date: Sat, 25 Aug 2001 14:17:41 -0500 From: Mike Meyer <mwm@mired.org> To: The Almonds <cjalmond@yahoo.com> Cc: questions@freebsd.org Subject: Re: c-shell script doing file copies runnign out of processes Message-ID: <15239.63957.551418.258582@guru.mired.org> In-Reply-To: <10827387@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
The Almonds <cjalmond@yahoo.com> types: > I created a simple c shell script that creates files, > copies files, cksum files, and then deletes files. I > then just call the c-shell script again in the > original c shell script. > > How do I run this script so that I do not get Kernel > out of processes errors which stop the script from > running. Well, the obvious fix is to source the script instead of running it, though that might not work. You could exec the tcsh that runs it. The best solution is probably to wrap the script in a loop of some kind that ends where you invoke it again. That will also let you add a termination condition, which is recommended. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15239.63957.551418.258582>