This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: AW: problem with run.exe in Windows-startup (Autostart) directory
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