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 Date: Thu, 21 Aug 2003 16:31:52 +0300 Message-Id: <200308211331.h7LDVqxf031372@beta.mvs.co.il> From: "Ehud Karni" To: Cc: cygwin AT cygwin DOT com Subject: Re: change wallpaper periodly by cron? In-reply-to: <20030821031529.GH11470@emcb.co.uk> (message from Elfyn McBratney on Thu, 21 Aug 2003 04:15:29 +0100) Organization: Mivtach-Simon Insurance agencies Reply-to: ehud AT unix DOT mvs DOT co DOT il References: <20030820140025 DOT 325F DOT LUCIFER AT tsinghua DOT org DOT cn> <20030820082010 DOT GB12392 AT cygbert DOT vinschen DOT de> <20030821095027 DOT 2B3C DOT LUCIFER AT tsinghua DOT org DOT cn> <20030821031529 DOT GH11470 AT emcb DOT co DOT uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-8-i Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 21 Aug 2003 04:15:29 +0100, Elfyn McBratney wrote: > > Lucifer wrote: > > On Wed, 20 Aug 2003 10:20:10 +0200 > > Corinna Vinschen wrote: > > > > CV> > > CV> It's a limitation of service processes. You can only change it by setting > > CV> the "Allow service to interact with desktop" property of the service. > > CV> > > > > I enabled the "Allow service to interact with desktop" and it works now, > > thank you. However, a DOS window titled as c:\cygwin\bin\cygrunsrv.exe > > popped out. It's ugly. Can that be avoided? > > AFAIK, it cannot. It's the ugly side effect of interactive service(s) on > Windows. Try to compile your program with -mwindows (without changing your "main" function). I use this trick when I want a program without a window (or console). If you run it from bash (or sh/csh) you wont notice any change, but if you run it under command or cmd, it will run without a (console) window. Ehud. - -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ mailto:ehud AT unix DOT mvs DOT co DOT il Better Safe Than Sorry -----BEGIN PGP SIGNATURE----- Comment: use http://www.keyserver.net/ to get my key (and others) iD8DBQE/RMnHLFvTvpjqOY0RAvbKAJ9/NisvO2AiJpdQOdUBA4dVymz5SACeJka1 qt/n45d0M2boTdaGlKIbso8= =uhKZ -----END PGP SIGNATURE----- -- 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/