Difference between revisions of "System"
(copy from pymol help)
Revision as of 14:54, 5 June 2006
"system" executes a command in a subshell under Unix or Windows.
cmd.system(string command,int sync=1)
async can only be specified from the Python level (not the command language)
- if async is 0 (default), then the result code from "system" is returned in r
- if async is 1, then the command is run in a separate thread whose object is returned