VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Dec 08 2005 - 18:12:26 CST
- Next message: John Stone: "Re: Quite confused with Movie Maker"
- Previous message: John Stone: "Re: Two questions: MacOS X and Raster3D output"
- In reply to: Galip Gurkan Yardimci: "calling scripts from the command line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
I believe this is a Windows-specific problem. This probably has to do
with the terminal I/O conventions that Windows uses. You'll note that
the Windows versions of VMD also sleep if there's an incomplete line
typed in the text console terminal, this is part of the Windows runtime
and isn't a result of any code in VMD. On Unix I'd expect your system()
call to work fine. Give it a try and let me know if you still have any
problem there.
John Stone
vmd_at_ks.uiuc.edu
On Thu, Dec 01, 2005 at 12:36:45PM +0200, Galip Gurkan Yardimci wrote:
> Hi all,
>
> I am trying to call a tcl script from my C code. I am using the "system"
> function to invoke vmd via command line by using the command "vmd -dispdev
> none -eofexit < myscriptwhatsoever.tcl > out.txt". Usual scripting routine as
> it is but when the command is invoked vmd starts but waits for input before
> executing the tcl script. Any random button pressed from the keyboard makes
> the script start then vmd terminates normally. I am unfortunately stuck to
> using windows. Do anyone have an idea why there is such a bug(other than
> windows causing the silliness)? Or is there such an issue with unix as well?
> Thanks a lot...
>
> G.Gürkan Yardýmcý
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: John Stone: "Re: Quite confused with Movie Maker"
- Previous message: John Stone: "Re: Two questions: MacOS X and Raster3D output"
- In reply to: Galip Gurkan Yardimci: "calling scripts from the command line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]