I explain!!! Exec ever put down my computer
From: Alexander (alexander_at_edem.g12.br)
Date: 05/05/04
- Next message: Googie: "Re: http library"
- Previous message: Andreas Leitgeb: "Re: Comment by Joel Spolsky"
- Next in thread: Michael Schlenker: "Re: I explain!!! Exec ever put down my computer"
- Reply: Michael Schlenker: "Re: I explain!!! Exec ever put down my computer"
- Reply: Donald Arseneau: "Re: I explain!!! Exec ever put down my computer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 May 2004 10:28:34 -0700
No!!! I forgot something !!!!!!!!!!!
This code reset my computer when I load the script!!!
Just load! I don't click in anything. I just load the script and my
computer turn off!!
OK??
Sorry for confusion.
Now, can you explain why!!
THanks!
Alexander
Brazil
MY CODE:
========================================================================
Hi all!
I have one script and when I "play" this script my computer is halted.
I know the solution (just one list before exec command), but I want
know why this thing happen.
Why "exec" put down my computer when that don't have one "list["
command before?
It's very strange for me!
Sorry again and again for my english!
Thanks!
Alexander
Brazil
#!/usr/bin/wish
wm geometry . -0+0
button .haltest -text Desligar -fg gray -bg white -command {
exec shutdown -h now
}
pack .haltest -side left
- Next message: Googie: "Re: http library"
- Previous message: Andreas Leitgeb: "Re: Comment by Joel Spolsky"
- Next in thread: Michael Schlenker: "Re: I explain!!! Exec ever put down my computer"
- Reply: Michael Schlenker: "Re: I explain!!! Exec ever put down my computer"
- Reply: Donald Arseneau: "Re: I explain!!! Exec ever put down my computer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]