This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /rebase.sh (was Re: YA call for snapshot testing)


On Jan 20 09:06, Chris Sutcliffe wrote:
> On 20 January 2012 08:23, Corinna Vinschen wrote:
> > [Moved to cygwin-apps for discussion]
> >
> > On Jan 20 09:49, marco atzeri wrote:
> >> As rebaseall is almost mandatory on W7/64 and
> >> we are always suggesting it to anyone with fork problem,
> >> I think a simple batch file in the / (called rebase.bat ?)
> >> similar to the cygwin.bat
> >>
> >> with something like
> >> -------------------------------------
> >> C:
> >> chdir C:\cygwin\bin
> >> C:\cygwin\bin\dash -l -i -c "rebaseall"
> >> --------------------------------------
> >>
> >> will help customer to handle the issue.
> >> It should be worth to add it to the rebase package.
> >
> > Sounds like an interesting idea. ÂThat would simplify the description
> > in the User's Guide, too. ÂThe only problem I see with this is the fact
> > that rebaseall exits prematurely if more than just dash or ash processes
> > are running. ÂMaybe we should add a flag to rebaseall so that it waits
> > for a keypress in that case.
> 
> Perhaps something like:
> 
> -------------------------------------
> C:
> chdir C:\cygwin\bin
> C:\cygwin\bin\kill -9 -1
> C:\cygwin\bin\dash -l -i -c "rebaseall"
> --------------------------------------
> 
> Or is that a little drastic?

I think so.  And even so, there's no guarantee that you have the
permission to kill all processes, for instance, services.  If that
happens you still have the problem that the user doesn't see an
error message if the bat file is started via Explorer.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]