Hi PyMoLers,
I need to launch an external program through a plugin. When I launch my
program by my button in my interface (the plugin) through this usual code :
command = "./myprogramm arg1 arg2"
process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
process.wait()
PyMol waits the end of the program to screen a windows with my result and
load new structure and cgo in PyMol, that's normal.
Is it possible that PyMol can go on and only when my program has finished,
my plugin screens the results and load new structure in PyMoL.
I would like that we can use PyMoL in the meantime that my program is
running.
Is it possible? I don't know how to put the thread for that...
Thank you for your help,
Ed'
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net