Hallo Gemeinde,
wenn ich dieses Skript
#! /usr/bin/wish button .b -text "Hello, World!" -command exit pack .b
in Geany 0.11 ausführen möchte, erhalte ich
invalid command name "button"
while executing
"button .b -text "Hello, World!" -command exit"
(file "2008-03-08_001.tcl" line 2)\––\––\––\–––
(program exited with code: 1)
Press return to continue
als Fehlermeldung.
Hat jemand einen Tipp für mich, wie ich das ändere? Auf der Shell ist ein Aufruf per wish kein Problem.