This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: change wallpaper periodly by cron?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 21 Aug 2003 04:15:29 +0100, Elfyn McBratney <elfyn@cygwin.com> wrote:
>
> Lucifer <lucifer@tsinghua.org.cn> wrote:
> > On Wed, 20 Aug 2003 10:20:10 +0200
> > Corinna Vinschen <corinna-cygwin@cygwin.com> 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@unix.mvs.co.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/