thanks Viktor

Bruno

2010/5/20 Viktor Szakáts <harbour...@syenar.hu>

> > $? returns the errorlevel set by the program, not just 0 and 1... 0 is
> > the standard for error-less returns.
> >
> >> But when I run an external aplicattion this variable don't generate a
> >> usefull value
> >>
> >> in example an hbmk2 command .
> >>
> >> Anybody have an idea in how to achieve this task ?
> >
> > I don't really understand what you mean
> >
> > hbmk2 should return a value, we may ask Viktor what to return the
> > value the external program returns... let's say gcc returns 1 to
> > signal a problem, hbmk2 should return 1....
>
> hbmk2 returns various non-zero values on failure depending
> on the stage where the build failed. For successful runs
> it returns zero or the when -run option is used, the return
> value of target executable.
>
> Viktor
>
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to