> Hi all,
> 
> has anybody any idea how can i execute an unix comand by pressing a
> button for example in vTcl?

    button .b -command "exec /bin/ls"

    Use the Tcl exec command to execute the UNIX command.  It's usually
best to specify the UNIX command with a full path.  IE:  /bin/ls instead
of just "ls".

Damon


_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to