Thank you Damin and all the other answers.
This solve the problem.
What I don't undertand is why this start to heappend now? I never needed to
catch the errors before.
But it is wonrking now with the catch command.
Anahuac
On Thursday 12 July 2001 22:50, you wrote:
> Acesso pelo menor pre�o do mercado! R$ 14,90 nos 3 primeiros meses!
> ASSINE AGORA! http://www.bol.com.br/acessobol/
>
> > I working with the Tcl an Tk in the 8.3.2 version and whe I execute
> > the set x [exec grep teste /etc/smb.conf] or any other command like this,
> > I get this error message.
> >
> > Someone knows what's going on?
> >
> > Thanks for any help.
> >
> > P.S. - This error never heappens before.
>
> Grep can return "child process exited abnormally" if the grep command
> finds nothing in the files it's searching. You're better off doing exec
> calls like this inside of a catch statement to control error handling. IE:
>
> if {[catch {exec grep teste /etc/smb.con} error]} {
> puts "I got error: $error"
> }
>
> Damon
>
>
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/vtcl-user
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user