public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@freemail.ru>
To: "Paul Maier" <svn-user@web.de>, cygwin@cygwin.com
Subject: Re: AW: problem with run.exe in Windows-startup (Autostart) directory
Date: Mon, 23 Jul 2012 01:20:00 -0000	[thread overview]
Message-ID: <245684781.20120723050951@mtu-net.ru> (raw)
In-Reply-To: <000001cd6823$dd688110$98398330$@de>

Greetings, Paul Maier!

> With "scripts" I mean:
> In the folder "C:\Users\<Username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\"
> I have 2 files with ending .lnk. They are normal Windows links. In their execute line they have the following:

> 1.) D:\Programme\cygwin\bin\run.exe /cygdrive/d/Programme/Subversion/bin/svnserve.exe -d -r "<Path>" --log-file "<Path>"
>     To work around the run.exe problem, I changed this one from "-d" to "--service" and run it as Windows service.

That's not workaround, that's the right way to do it.

> 2.) D:\Programme\cygwin\bin\run.exe /bin/tcsh.exe -c startx

>     And startx is an alias to: /bin/startxwin -- /bin/XWin

Why not start it directly, then?
It's not cygwin-specific, both are remote access services. Using intermediate
scripts only blurring your picture, and taking more time for system to
startup.

I would understand, if you were using run-parts ~/profile.d/ kind of scripting, like me.
But it seems it's not the case and all you want is to start certain
application on startup. Do it!


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 23.07.2012, <05:03>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2012-07-23  1:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-22  1:05 Paul Maier
2012-07-22 14:20 ` Andrey Repin
2012-07-22 16:08   ` AW: " Paul Maier
2012-07-23  1:20     ` Andrey Repin [this message]
2012-07-23 19:49       ` AW: " Paul Maier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=245684781.20120723050951@mtu-net.ru \
    --to=anrdaemon@freemail.ru \
    --cc=cygwin@cygwin.com \
    --cc=svn-user@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).