Matteo Centenaro wrote:
>
> has anybody any idea how can i execute an unix comand by pressing a
> button for example in vTcl?
something like:
button $base.fra0.but1 \
-text "ls /tmp" -command "exec ls /tmp"
You draw a button and just fill in the corresponding
vtcl boxes in the Attribute editor.
text: ls /tmp
command: exec ls /tmp
oh, and you want to do something with the output?
try this
command: puts [exec ls /tmp]
But you did not say you wanted to do anything with
the data. so I will leave that to you.
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user