Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 6 May 2003 15:41:41 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Rob Brown cc: cygwin AT cygwin DOT com Subject: Re: cygrunsrv + base priority In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 6 May 2003, Rob Brown wrote: > > "man nice". > > HTH, > > Igor > > Thanks, nice works... well... nicely. (didn't know it was ported!) "nice.exe" is part of the "sh-utils" package. > I modified the registry for the service in: > HKLM\SYSTEM\CurrentControlSet\Services\myservice\Parameters > changed the AppPath key to be: > AppPath REG_SZ "/usr/bin/nice.exe" > and added an AppArgs key: > AppArgs REG_SZ "-n -20 /bin/myservice.exe" Hmm, now *that* you could have done directly via cygrunsrv... :-D Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/