how to write a command to close vmd in shell script?

From: He Yuhui (yuhuihe_at_ime.pku.edu.cn)
Date: Sun Aug 09 2009 - 22:21:34 CDT

Dear all,

   Right now I am writing a shell script to automatically run a series
of tcl files, such as 1_a.tcl, 2_b.tcl, and so on:

   vmd -e WORKINGDIR/1_a.tcl
   vmd -e WORKINGDIR/2_b.tcl
   ...

   However, after execution of first vmd command, the vmd does not quit
automatically. Therefore, the second vmd command could not start
automatically.

  So, how to write a command to close vmd in shell script?

  Thanks and regards!

Yuhui He

---
Dr. Yuhui He(何毓辉)
Institute of Microelectronics, Chinese Academy of Sciences
Beijing 100029, China

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:53:09 CST