Hi all,
I want to send pymol command from a tcl/tk GUI. To begin, I just want to
open pymol and load a pdb file when I click on a button. I'm using pipe.
here is my code:
button .b1 -text "pipe" -command "runPymolAndLoad"
proc runPymolAndLoad {} {
set fl [open "|pymol -p" w]
set opt "load structure.pdb"
puts $fl $opti
flush $fl
}
This works on Mac ! ... but not on Windows !!
Do someone know why ?
I've tried : fconfigure $fl -blocking no
but it doesn't work neither...
Thanks in advance for your help
Cheers
pierre.